Use LuaJIT md5 ffi feature optionally #4
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: library-mirrors/gamejoltlua#4
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It would be nice to add an MD5 that takes advantage of LuaJIT's bitops!
It would speed up the performance somewhat!
https://github.com/Wiladams/LAPHLibs/blob/master/MD5.lua
Unfortunately the library @josefnpat pointed out doesnt work right. So I modified @kikito 's library to use bitops where available, you can grab it here, I also made a pull request to Kikito so maybe he merges it (who knows?)
PS: I forgot to mention it but with these minor modifications it works from 300 to 500 times faster
👍
Okey, Kikito merged the pull request so I recommend you update MD5.lua to it's latest version (1.0.0) 😄
👍 :godmode: 👍
Nice work, peeps!
I think this issue has been solved so, shall it be closed?