#19016: Better hash for Element
-------------------------+-------------------------------------------------
Reporter: | Owner:
ncohen | Status: needs_work
Type: | Milestone: sage-6.9
defect | Resolution:
Priority: | Merged in:
blocker | Reviewers:
Component: misc | Work issues:
Keywords: | Commit:
Authors: | 829d9cc04c024620af19922ebb91ffded223712a
Nathann Cohen | Stopgaps:
Report Upstream: N/A |
Branch: |
u/nbruin/19016 |
Dependencies: |
#18246 |
-------------------------+-------------------------------------------------
Changes (by vdelecroix):
* dependencies: => #18246
Comment:
The branch must be based over #18246 (which is not yet merged). Otherwise
it makes no sense!
I also did implement several hashes that I will add to the branch.
While going through the code I found
{{{
sage: M = MatrixSpace(GF(3),2,2).list()
sage: for m in M: m.set_immutable()
sage: len(M)
81
sage: len(set(map(hash,M)))
8
}}}
I opened #19050.
--
Ticket URL: <http://trac.sagemath.org/ticket/19016#comment:44>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.