On 9/9/07, Pablo De Napoli <[EMAIL PROTECTED]> wrote:
>
> Simpy is indeed an interesting package and could be useful in a future
> for rewriting the
> calculus package (replacing maxima)
>
> However. rather than incorporating it into Sage as a package, I feel
> that we will need to take some of it code and re-write it to fit well
> into Sage.
>
> This is because, Sage already has faster alternatives to do the
> computations in many places
> (for example: factorization of polynomials that are needed in the
> symbolic computations)

It is possible to speed up basic symbolic arithmetic in SymPy by at
least a factor of 10 (memory usage, which I've noticed is a problem in
SymPy for some calculations due to excessive caching, should be
possible to reduce by at least a factor 10 at the same time). I'm
working on a rewrite of the core that achieves this, but it is not yet
in the SymPy SVN. This still won't make it competitive with a C core
in terms of speed, but most things should be a lot smoother.

On 9/9/07, Pablo De Napoli <[EMAIL PROTECTED]> wrote:
> (For example, I've seen that the version of Simpy in svn includes a
> function for computing the number of partitions, but Sage has a faster
> function for that)

I'm happy that someone noticed the partition function in SymPy
(motivated by the awesome recent work in SAGE), even though it doesn't
stand up to the competition, and obviously no amount of optimization
will get it close as long as SymPy is written in pure Python. But our
goal for SymPy should be to make it able to solve small problems
correctly without leaving Python. Users who need to solve big problems
should switch to SAGE (take the car instead of the bicycle? :-), and
our documentation should point them that way.

Fredrik

--~--~---------~--~----~------------~-------~--~----~
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-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to