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

instance strings to speed up hashmap lookups and reduce bytecode size #2

Open
brianush1 opened this issue Jan 24, 2020 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@brianush1
Copy link
Owner

Currently, duplicate strings are duplicated in memory, making comparisons between two strings take O(n) time. This is not ideal, as Lua uses strings in indexing very often, and may be a major bottleneck in performance-sensitive code.

@brianush1 brianush1 added the enhancement New feature or request label Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant