Skip to content

BuiltinFunction.__call__ is unnecessarily slow #13933

@robertwb

Description

@robertwb

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).

Apply:

CC: @burcin

Component: symbolics

Keywords: sd48

Author: Robert Bradshaw

Reviewer: Burcin Erocal, Karl-Dieter Crisman

Merged: sage-5.11.beta2

Issue created by migration from https://trac.sagemath.org/ticket/13933

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions