brianush1/zua

instance strings to speed up hashmap lookups and reduce bytecode size

brianush1 opened this issue · 0 comments

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.