Opened 10 years ago

Last modified 9 years ago

#13933 closed defect

BuiltinFunction.__call__ is unnecessarily slow — at Initial Version

Reported by: Robert Bradshaw Owned by: Burcin Erocal
Priority: major Milestone: sage-5.11
Component: symbolics Keywords: sd48
Cc: Burcin Erocal Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

This was discovered when looking at #12615. Basically, foo(x) eventually calls x.foo() if it exists, but only after doing a lot of symbolic work (resulting in an order of magnitude slowdown for that example).

Change History (1)

Changed 10 years ago by Robert Bradshaw

Attachment: 13933-slow-call.patch added

Any reason why this isn't a good idea?

Note: See TracTickets for help on using tickets.