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

smarter pickles for Triangulation, VeeringTriangulation and VeeringTriangulationLinearFamily #19

Merged
merged 3 commits into from
Sep 1, 2023

Conversation

videlec
Copy link
Contributor

@videlec videlec commented Sep 1, 2023

Before

sage: from veerer import *
sage: print(len(dumps(Triangulation("(0,1,2)"))))
160
sage: print(len(dumps(VeeringTriangulation("(0,1,2)", "RBB"))))
184
sage: print(len(dumps(VeeringTriangulationLinearFamily("(0,1,2)", "RBB", [(1, 1, 0)]))))
649

after

sage: from veerer import *
sage: print(len(dumps(Triangulation("(0,1,2)"))))
58
sage: print(len(dumps(VeeringTriangulation("(0,1,2)", "RBB"))))
69
sage: print(len(dumps(VeeringTriangulationLinearFamily("(0,1,2)", "RBB", [(1, 1, 0)]))))
127

Fixes #18

@videlec videlec merged commit b98a959 into flatsurf:master Sep 1, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Reduce pickle sizes
2 participants