-
-
Notifications
You must be signed in to change notification settings - Fork 553
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #29223: Pickle cached value of volume and f-vector
Volume, f-vector and Ehrhart polynomial of polyhedra can be hard to compute, but take little memory when saving. So we pickle those values, e.g. {{{#!diff + @cached_method(do_pickle=True) - @cached_method def f_vector(self): }}} URL: https://trac.sagemath.org/29223 Reported by: gh-kliem Ticket author(s): Jonathan Kliem Reviewer(s): Laith Rastanawi
- Loading branch information
Showing
2 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters