Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array sort from Lua 5.1.5 #158

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mingodad
Copy link
Contributor

Change the array sort by the one from Lua 5.1.5, it can sort with about half the calls made by the original sort function.
I made this change to SquiLu when profiling to speedup array operations and also added native numeric arrays "array_float64, array_float32, array_int64, array_int32, array_int16, array_int8" that works almost the same as the original "array" with exception that it only accept numeric values.

See mingodad/squilu@d32881d and up.

It can with some work be made to work with squirrel too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant