diff options
author | Alex Orlenko <zxteam@protonmail.com> | 2021-06-30 16:50:50 +0100 |
---|---|---|
committer | Alex Orlenko <zxteam@protonmail.com> | 2021-06-30 16:50:50 +0100 |
commit | 41aae8330401f5ef3c6bea7b094b78481e5b977c (patch) | |
tree | e9e7de8ecc3fc32d0e4e55fa21e36a5697fcce5a /tests/scope.rs | |
parent | fc84e8623ea1edd482cb1358c7b7b5cd60b9b90f (diff) | |
download | mlua-41aae8330401f5ef3c6bea7b094b78481e5b977c.zip |
Optimize callback creation
Attach only one upvalue to callbacks rather than two.
This leads to less lookup to Lua registry.
Diffstat (limited to 'tests/scope.rs')
0 files changed, 0 insertions, 0 deletions