-
-
Notifications
You must be signed in to change notification settings - Fork 568
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
Refactoring of crystals for speedup #14516
Comments
comment:1
Here are some timings. With the patch:
Before:
|
comment:2
I'm also getting significant speedups now in creating
Before:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:5
I'll upload the split patch shortly and check to see if it can commute pass #14143. |
comment:7
With patch:
Before:
So currently I'm seeing small performance gains, the bigger ones are likely going to come from #14686. |
comment:8
Hi Travis, The two tests (with and without patch) do not seem to be the same! Anne |
comment:9
@anneschilling There was some omissions. New version which fixes the pickling issues and should pass all doctests. #14143 does fix some of the doctests. |
Reviewer: Anne Schilling |
Changed keywords from crystals speedup to crystals speedup, days49 |
comment:12
Hi Travis, The patch looks good (I put a reviewed patch on the sage-combinat queue). I am not so happy about the huge doc tests for setstate. As we discussed, perhaps just put a loads/dumps test? Best, Anne |
comment:13
Done. |
comment:19
There are doctest failures with #12940, please rebase:
|
comment:20
Fixed:
For patchbot: Apply: trac_14516-crystals_speedup-ts.patch |
comment:21
Anne, could you do a double-check to make sure everything is consistent and works for you? Thanks. |
comment:22
Replying to @tscrim:
I still get the above mentioned errors:
Did you post an updated patch? I cannot see any mention of affine_permutation in your patch. Anne |
Attachment: trac_14516-review-as.patch.gz |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:24
Attachment: trac_14516-crystals_speedup-ts.patch.gz Here's the fixed patch. For patchbot: Apply: trac_14516-crystals_speedup-ts.patch |
comment:25
Ok, looks good now! Anne |
Merged: sage-5.12.beta1 |
In order to speed up many of the crystals computations, I'm proposing the following:
CrystalOfLetters
index_set()
a cached method. Subsequently this requires it to be returned as a tuple instead of a list_element_constructor_()
the elements ofCrystalOfLetters
.See #14686 for a followup.
Apply:
Depends on #2023
Depends on #14402
Depends on #14413
Depends on #14143
Depends on #12940
CC: @sagetrac-sage-combinat @bsalisbury1 @anneschilling @nthiery
Component: combinatorics
Keywords: crystals speedup, days49
Author: Travis Scrimshaw
Reviewer: Anne Schilling
Merged: sage-5.12.beta1
Issue created by migration from https://trac.sagemath.org/ticket/14516
The text was updated successfully, but these errors were encountered: