Hi Richard,
On Thu, Jul 23, 2015 at 3:23 AM, Richard Rondu <
rondu....@gmail.com> wrote:
> Hi everyone.
>
> I'm upgrading my Qt RPN calculator app for sailfish
> (
https://github.com/lainwir3d/sailfish-rpn-calculator) to use sympy as an
> engine.
>
> Everything was well and happy when I was using the sailfish emulator to test
> the app, but then I decided to finally try it on my Jolla smartphone : the
> import time of sympy increase to a bit above ten seconds.
>
> While I can manage to deal with ~5seconds, ~10seconds is a bit too much. I
> was using sympy 0.7.6, I moved yesterday to the master branch hoping it
> would be better but it's not.
Even 5s is unnaceptable, at least for me.
I am really sorry it is taking so long to import, we need to fix that.
I hope it is possible to fix this in Python.
Thanks for posting the timings. To get to the bottom of the issue ----
is the import time slow because we are doing some (slow) calculations
at import time, or is the import time slow because Python needs to
read and parse ~200,000 lines of code?
Once we understand where the time is actually spent, then we need to
figure out a solution.
Ondrej