summaryrefslogtreecommitdiff
path: root/tests/scope.rs
diff options
context:
space:
mode:
authorAlex Orlenko <zxteam@protonmail.com>2021-06-30 16:50:50 +0100
committerAlex Orlenko <zxteam@protonmail.com>2021-06-30 16:50:50 +0100
commit41aae8330401f5ef3c6bea7b094b78481e5b977c (patch)
treee9e7de8ecc3fc32d0e4e55fa21e36a5697fcce5a /tests/scope.rs
parentfc84e8623ea1edd482cb1358c7b7b5cd60b9b90f (diff)
downloadmlua-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