Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

...and if you're using LuaJIT, 0-based arrays will even be optimized appropriately (i.e., array[0] will be stored internally in the array rather than in the hash).

But you'll still be fighting with the libraries and array literals, as you say.



You can fix some libraries by using ipairs. But not all of course.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: