Open MOVZX opened 1 month ago
Definitely appreciate you posting this, the intention for this snippet is for generating joaat hashes in lua scripts outside of FiveM/RedM. The provided GetHashKey and joaat functions would definitely be preferable for use in game, and importing a custom joaat hash function would be redundant and as you point out, less performant.
Out of curiosity, did you benchmark how using ` compares?
Using backtick ` same result as GetHashKey.
I just found this repo from browsing GitHub randomly, and I just tried the code snippet