comparison Python/codecs.c @ 18136:4cb34314bd97 legacy-trunk

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.
author Fred Drake <fdrake@acm.org>
date Sat, 16 Jun 2001 21:02:31 +0000
parents 25ddd3dc7a7a
children 898304f6da23 416654e27d88
comparison
equal deleted inserted replaced
18134:eff8da7c3dcb 18136:4cb34314bd97