> I don't have any particularly insightful ideas, but are you thinking about a > 2d C array of Python dicts? That sounds reasonable to me. I assume you've > optimized the hash methods on your basis elements?
Thanks for your reply. I wouldn't know how to get a 2d C array of python dicts in cython, do you have a two line example, or a reference where to see one? The basis elements are currently pairs of ints, but I could break it down to a single int, so the hash is quite fast. Christian -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org