lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> I tried to reproduce your experiment, but in my setting I get basically
> the same time for 1.0.1 and 1.0.2 (~0.27 sec).
>
> -- Roberto

 

I just tested again and found that I undefined `NDEBUG` when compiling.

After defining `NDEBUG`, I got the same time:

 

===========test lpeg-1.0.1-DEBUG====================

0.616

===========test lpeg-1.0.2-DEBUG====================

1.053

===========test lpeg-1.0.1-NDEBUG====================

0.598

===========test lpeg-1.0.2-NDEBUG====================

0.541