-
-
Notifications
You must be signed in to change notification settings - Fork 517
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
faster hashs for Matrix_mod2_dense #3724
Comments
implements faster hashing |
comment:1
Attachment: m4ri_hash.patch.gz it seems, the patch is independent of the PNG fix. |
comment:2
Simon, can you review my patch? |
comment:3
The patch applies to sage-3.1.1 Consider a little test:
Without the patch, i had to interrupt sage after few minutes since it ate pretty much of my computer's memory. With the patch, we get
Well done, Martin! I give a positive review. The patch contains a doc-test. One problem for me: Typing I know that the following should be another ticket. But here are two items on my wish list:
which is somehow slowish. |
comment:4
Simon, please open a thread on sage-devel. I assume the discussion will conclude that speed up is warranted and then we can open tickets for the new issues. Cheers, Michael |
comment:5
Merged in Sage 3.1.2.alpha1 |
comment:6
Replying to @simon-king-jena:
That could be a bug for introspection (or however that thingy is called). Could you open a ticket?
Yes it can, please open a Trac ticket and I'll do it as soon as I find some time.
That is #3324 which is blocked by a problem on OSX 10.4 and libpng. |
comment:7
Sorry, but i think i should re-open the ticket:
A mutable object is not allowed to have a hash, AFAIK.
So, the hash value has changed (i.e., was re-computed) by changing the matrix...
... and has not changed by copying the matrix. By consequence, it may be that everything is alright. However, I re-open the ticket, because I think this should be addressed -- either by a new patch raising an exception when Cheers |
address review |
comment:8
Attachment: m4ri_hash2.patch.gz You're right, good catch. The attached patch addresses that issue. |
comment:9
m4ri_hash2.patch looks good to me. Positive review. |
comment:10
Merged m4ri_hash2.patch in Sage 3.1.2.alpha1 |
comment:11
The new hash-ing method does not obey Sage's hashing rules. See Robert's comment at #3956. Obeying this rule however would come with a considerable speed penalty compared to |
comment:12
Martin, can we move the latest issue to a new ticket? As is this ticket is getting rather messy, i.e. in HISTORY.txt as well as here. Cheers, Michael |
comment:13
your wish is my command. |
Simon King requested faster hashing for matrices over GF(2). This patch implements it, but depends on #3324 and an updated M4RI.
CC: @simon-king-jena
Component: linear algebra
Keywords: m4ri, hash, matrix
Issue created by migration from https://trac.sagemath.org/ticket/3724
The text was updated successfully, but these errors were encountered: