summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-06-08 04:25:24 (GMT)
committerFred Drake <fdrake@acm.org>2001-06-08 04:25:24 (GMT)
commitedb5ffb2c145fc52df2195c22688db51034b08d5 (patch)
tree895ed4334977ec2af3ce4c7e8556c8de079db9c7 /Python/ceval.c
parent13b8bc54788ab4112f94160e2253bcf86da96c95 (diff)
downloadcpython-edb5ffb2c145fc52df2195c22688db51034b08d5.zip
cpython-edb5ffb2c145fc52df2195c22688db51034b08d5.tar.gz
cpython-edb5ffb2c145fc52df2195c22688db51034b08d5.tar.bz2
Performance improvements to the profiler:
Ensure that all the default timers are called as functions, not an expensive method wrapper around a variety of different functions. Agressively avoid dictionary lookups. Modify the dispatch scheme (Profile.trace_dispatch_*(), where * is not 'call', 'exception' or 'return') so that the callables dispatched to are simple functions and not bound methods -- this reduces the number of layers of Python call machinery that gets touched. Remove a couple of duplicate imports from the "if __name__ == ..." section. This closes SF patch #430948.
Diffstat (limited to 'Python/ceval.c')
0 files changed, 0 insertions, 0 deletions