]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Instead of initializing & interning the strings passed to the profile
authorFred Drake <fdrake@acm.org>
Sat, 16 Jun 2001 21:02:31 +0000 (21:02 +0000)
committerFred Drake <fdrake@acm.org>
Sat, 16 Jun 2001 21:02:31 +0000 (21:02 +0000)
commitd083839fb4f44ff66792d80f7a71863600ca4638
treef57615d2bb6f241762afb0f5c5b15a40c908e386
parent70128a1ba693d399177714e657e13c08a2056b45
Instead of initializing & interning the strings passed to the profile
and trace functions lazily, which incurs extra argument pushing and checks
in the C overhead for profiling/tracing, create the strings semi-lazily
when the Python code first registers a profile or trace function.  This
simplifies the trampoline into the profile/trace functions.
Python/ceval.c
Python/sysmodule.c