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

Break circular refs in old fullData and fullLayout #2366

Closed
wants to merge 1 commit into from

Conversation

alexcjohnson
Copy link
Collaborator

cc @etpinard @dfcreative This doesn't seem to be the whole story, but it does look like it helps the garbage collector in repeated-restyle workloads like #1755

@alexcjohnson
Copy link
Collaborator Author

huh, this causes some problems in the tests... will need to investigate.

@alexcjohnson
Copy link
Collaborator Author

hmm, after some more testing I no longer think this is a significant benefit, and the test errors make it clear this was an overly blunt approach anyway - if there is a benefit to be had here, it'll be better to target exactly the items known to contain possible circular references, such as trace._expandedInput and trace._fullInput.

@alexcjohnson alexcjohnson deleted the break-loops branch February 14, 2018 22:19
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.

1 participant