On Monday 22 March 2010, Marshall Hampton wrote:
> I don't know the answer to your question, but I can tell you that in
> my experience I find ETuples irritating and I always convert them to
> ordinary lists, tuples or Sage vectors.  In your example if those
> objects are converted to any of those types then equality will hold.
> My impression is that the ETuple class is optimized for specialized
> fast internal behavior, not for user convenience.

I wrote ETuples ages ago when we didn't have libsingular. The idea was to have 
a sparse data structure for exponent vectors. I think these days they should 
be rewriting to allow at least Integers instead of C ints as exponents such 
that we don't run into exponent overflows at least with the slow generic 
implementation. Anyway, I am digressing. I've fixed the bug at

   #8577

eadd_p didn't insert the elements in the right order, I hope I caught all 
corner cases with my new code.

Cheers,
Martin

-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF
_www: http://www.informatik.uni-bremen.de/~malb
_jab: [email protected]

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

To unsubscribe from this group, send email to 
sage-support+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to