Comment #5 on issue 3617 by [email protected]: Impossible to work with floating point numbers in the geometry module
http://code.google.com/p/sympy/issues/detail?id=3617

I vote for solving this issue!
I wrote program for clipping (computer graphics lab). It ran very slow (7 seconds for clipping 10 lines with rectangle!). I spent several hours trying to understand what is wrong with my code. Then I ran profiler and saw that almost all time is wasted on __new__ from Point class (nsimplify function to be precise). I googled and found this issue. After I change defaults (if kwargs.get('evaluate', False):) my program started to run very fast, as it supposed to be.
I attach profiles and screenshots of RunSnakeRun profiler.

Attachments:
        6_rect_clip_with_eval.profile  947 KB
        6_rect_clip_without_eval.profile  912 KB
        with_eval.png  76.1 KB
        without_eval.png  97.4 KB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to