Updates:
Cc: ondrej.certik
Comment #6 on issue 1908 by asmeurer: mutable core
http://code.google.com/p/sympy/issues/detail?id=1908
I don't understand how you plan on achieving the efficient implementation
along with mutability. The
dictionaries that you are talking about have SymPy ob
Comment #5 on issue 1908 by ronan.l...@gmail.com: mutable core
http://code.google.com/p/sympy/issues/detail?id=1908
Of course, an efficient implementation has to use mutable structures
internally. But
this is quite unrelated to the mutability of the object itself. To get
an "immutable"
objec
Comment #4 on issue 1908 by Vinzent.Steinberg: mutable core
http://code.google.com/p/sympy/issues/detail?id=1908
I don't think it would be only useful for '+='-style operations. If we have
Add(x, y, z) + Add(x, a)
and would use dictionaries instead of tuples for args, we could merge the
the
Comment #3 on issue 1908 by ronan.l...@gmail.com: mutable core
http://code.google.com/p/sympy/issues/detail?id=1908
You're mixing two separate issues: efficient implementation of Add/Mul and
mutability.
The first issue has already been mostly solved in the (easy) case of boolean
operations,
Comment #2 on issue 1908 by fabian.seoane: mutable core
http://code.google.com/p/sympy/issues/detail?id=1908
You are very brave by opening this issue :-)
BTW, ginac uses lists in trees (which is similar to dicts, but not the
same):
http://www.ginac.de/tutorial/Internal-representation-of-pro
Comment #1 on issue 1908 by Vinzent.Steinberg: mutable core
http://code.google.com/p/sympy/issues/detail?id=1908
See also http://code.google.com/p/sympycore/, which probably implemented
this.
--
You received this message because you are listed in the owner
or CC fields of this issue, or beca
Status: Accepted
Owner:
CC: fab...@fseoane.net
Labels: Type-Enhancement Priority-Medium
New issue 1908 by Vinzent.Steinberg: mutable core
http://code.google.com/p/sympy/issues/detail?id=1908
This should result in a considerable speed improvement. I think it could be
done using a dict (or se