> IndexedList is useful if somebody wants to port code which
> uses differernt indexing.

My point is, for List, one should not use index to get its element,
because it's O(n) to do index.  In C++, std::list does not have
operator[], "all STL sequences that support operator[] should
do it in amortized constant time".

I would even suggest we do the same, domains that export
IndexedAggregate must have constant time elt(%, n).

You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To post to this group, send email to fricas-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to