instance strings to speed up hashmap lookups and reduce bytecode size
brianush1 opened this issue · 0 comments
brianush1 commented
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.