Lartu / katalyn

Scripting language that combines the simplicity of Lua with the power of Perl 🛡️
http://lartu.net/katalyn/
Apache License 2.0
5 stars 1 forks source link

perf: use `find` to get table elements #12

Closed Oppen closed 2 months ago

Oppen commented 2 months ago

This makes it a single query in O(logn) compared to counting values and then querying again.

Lartu commented 2 months ago

Ah, this has been long due! Thank you so much!