Skip to content

WIP: Support for copying environments with cycles and metatables#12

Open
FSMaxB wants to merge 8 commits into
masterfrom
cycle-copy
Open

WIP: Support for copying environments with cycles and metatables#12
FSMaxB wants to merge 8 commits into
masterfrom
cycle-copy

Conversation

@FSMaxB
Copy link
Copy Markdown
Owner

@FSMaxB FSMaxB commented May 10, 2016

This uses breadth first search for copying in order to make it possible to clone tables with reference cycles and metatables.

Fixes #10 and #9

This will fix object oriented interfaces inside the sandbox.

This means that the only remaining use cases for the reference option are:

  1. When the table uses too much memory.
  2. When it takes too much time to copy the table.

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

Successfully merging this pull request may close these issues.

Handle metatables in 'merge_tables'

1 participant