Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lua_upvalueid + lua_upvaluejoin for shared upvalues #1

Open
nikki93 opened this issue Jun 29, 2018 · 0 comments
Open

lua_upvalueid + lua_upvaluejoin for shared upvalues #1

nikki93 opened this issue Jun 29, 2018 · 0 comments

Comments

@nikki93
Copy link

nikki93 commented Jun 29, 2018

The same way that a 'seen' table is used for shared references, upvalues shared by closures could be detected using lua_upvalueid and later their linkage restored using lua_upvaluejoin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant