Korioz / krz_personalmenu

🎓 Personal Menu supporting ESX
GNU General Public License v3.0
66 stars 63 forks source link

refactor: small optimization #126

Closed MoskalykA closed 10 months ago

MoskalykA commented 10 months ago

Hi, here's a little optimisation

bfivem 0.0.2 🚀

Korioz commented 10 months ago

Hi, this is not an optimization, i already benchmarked both, joaat has performance issues when you add more characters. image

MoskalykA commented 10 months ago

Hi, thank you for that comment. With the profiler, I know that GetHashKey becomes faster than joaat around 9500 - 10 000 characters, I don't think there is a use with that many characters.