Skip to content
Snippets Groups Projects
Commit 2f1df7eb authored by Oleg Babin's avatar Oleg Babin Committed by Kirill Yukhin
Browse files

digest: eliminate excess table lookup

This patch removes excess table lookup for FFI calls. So we save
one hash operation and do it in mannier that used for another
modules such as "tuple", "uuid", etc.

For details see [1] section "To Cache or Not to Cache".

  [1] https://luajit.org/ext_ffi_tutorial.html
parent 15bbdab9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment