[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] LuLPeg v0.1
- From: Pierre-Yves Gérardy <pygy79@...>
- Date: Wed, 12 Jun 2013 23:55:51 +0200
On Wed, Jun 12, 2013 at 6:29 PM, David Heiko Kolf <firstname.lastname@example.org> wrote:
> I tried it with the test suite of my JSON module  and I got an error
> that an argument to a match time capture was nil.
That was indeed a bug. Fixed now :-)
> If I pass some other value instead of nil as argument, my test suite
> passes successfully. Just the big array test took an unusual long time
> -- it is parsing "["..("0,"):rep(100000).."0]". But the tests
> completed, so good job on the module!
I just pushed a small optimization, but with PUC Lua 5.1, it is still
~100 times slower than LPeg in my tests. Did you try LuaJIT?