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

Feature request: mapi() #68

Closed
edubart opened this issue Mar 22, 2019 · 2 comments
Closed

Feature request: mapi() #68

edubart opened this issue Mar 22, 2019 · 2 comments

Comments

@edubart
Copy link

edubart commented Mar 22, 2019

I do miss a mapi() function, it would work like map() but use ipairs() instead of pairs().
Motivation: That are some tables that we are sure that they are just an array and ipairs is much faster on LuaJIT.

@edubart
Copy link
Author

edubart commented Apr 1, 2019

Never mind, I ended up needing many additional functions, it's straightforward to extended the library.

@edubart edubart closed this as completed Apr 1, 2019
@Yonaba Yonaba reopened this Apr 1, 2019
@Yonaba Yonaba closed this as completed in 7b23a5f Apr 1, 2019
@Yonaba
Copy link
Owner

Yonaba commented Apr 1, 2019

I found the idea interesting. It is now part of the API.

Thanks!

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

No branches or pull requests

2 participants