Skip to content

Is this pattern optimized? #246

Answered by zeux
lucasmz-dev asked this question in Q&A
Discussion options

You must be logged in to vote

Right now this code does create a fresh table every time. We still currently live in the world where globals can be substituted externally via setfenv which makes optimizing this correctly difficult (although it's possible we'll change the expectations for patching globals at some point...)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lucasmz-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants