-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
Back tableaux by Numpy arrays where possible #28114
Comments
comment:1
Thanks for the update. The plan was to use ClonableArray's / IntArrays. Numpy arrays could be an alternative indeed. |
comment:2
I wondered if maybe that was a possibility as well, but 8-bit numpy arrays would still probably be the most efficient. I figured it was probably considered before but I didn't see a ticket for it. |
comment:3
Also doctesting |
comment:4
Ticket retargeted after milestone closed |
comment:5
Batch modifying tickets that will likely not be ready for 9.1, based on a review of the ticket title, branch/review status, and last modification date. |
comment:7
Setting new milestone based on a cursory review of ticket status, priority, and last modification date. |
As #28106 demonstrates, although it is perhaps a somewhat extreme case, constructing large classes of tableaux can be very memory-hungry, as the
StandardTableaux(50)
case demonstrates (it chews up nearly a gigabyte of RAM).In many cases, most individual tableaux can be represented as a single flat numpy array of small ints (8-bit unsigned for example) containing their shape data, which would save significant space. Having tableaux stored as Numpy arrays may also help speed up some algorithms, but I'm not sure about any specific cases.
CC: @nthiery @zerline @hivert @tscrim
Component: combinatorics
Issue created by migration from https://trac.sagemath.org/ticket/28114
The text was updated successfully, but these errors were encountered: