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

pairs Funciton Is Impossible With HashMaps #2

Open
danii opened this issue Aug 31, 2021 · 0 comments
Open

pairs Funciton Is Impossible With HashMaps #2

danii opened this issue Aug 31, 2021 · 0 comments
Labels
Type - Bug The library did something unexpected.

Comments

@danii
Copy link
Owner

danii commented Aug 31, 2021

The pairs Lua function cannot be implemented because it is deterministic without state. It seems as if the reference implementation PUC Lua actually uses b-trees rather than hash maps to store tables.

@danii danii added the Type - Bug The library did something unexpected. label Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type - Bug The library did something unexpected.
Projects
None yet
Development

No branches or pull requests

1 participant