lua-users home
lua-l archive

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

On 3/4/2015 10:33 AM, Dibyendu Majumdar wrote:
Anyway - I need to stay away from this problem until I have completed
implementing other bytecodes as this is an absorbing issue that can
easily consume a lot of time. Also, in a real world scenario this may
not be such an issue.

I think you're doing quite well, that is, in speeding up Lua in this manner. Whether you can approach luajit's speed with this method is another matter...

luajit is doing 3.2 billion iterations a second. Do you have a comparison with a straight C sample? That would be informative, indicating the amount of overhead we're looking at versus "C compiled with the minimum overhead".

Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia