#5478: [with patch, needs review] RestrictedPartitions is very slow and a huge
memory hog
---------------------------+------------------------------------------------
Reporter: ddrake | Owner: ddrake
Type: defect | Status: new
Priority: major | Milestone: sage-combinat
Component: combinatorics | Keywords: combinat, partitions, gap
---------------------------+------------------------------------------------
Comment(by hivert):
Anyone reviewing this might want to look at my test script:
[http://sage.math.washington.edu/home/drake/restricted_partitions_test_suite.sage
restricted_partitions_test_suite.sage]. I've run over 10,000 successful
tests with it.
This script is great. I should be put in sage in one place or one other.
If someone tries to optimize your code (eg: Cythonize), he surely will be
happy to have your test code. Why not shipping it into the patch with a
more explicit name and a one-line example on how to use it with the
comment " #longtest " ?
Florent
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5478#comment:9>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---