#4366: [with patch, needs work] sys.path is searched ("stat"ed) for *.pyx-files
insanely often
-------------------------+--------------------------------------------------
Reporter: GeorgSWeber | Owner: GeorgSWeber
Type: defect | Status: assigned
Priority: major | Milestone: sage-3.2
Component: coercion | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by mabshoff):
Replying to [comment:7 robertwb]:
> The coercion model caching what the right action is is essential to its
speed, so the behavior remains the same but it remembers to not go down
(all) the failed code paths the next time around. The only exceptions are
float+ZZ and float+QQ. There's a ticket to handle these better.
Which ticket would that be?
> One should be able to cache the exceptions *without* stating every file
in the path, and I think this is what we should do.
I agree. The patch might solve the problem, but Robert's suggestion to
solve the problem should be preferred.
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4366#comment:8>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en
-~----------~----~----~----~------~----~------~--~---