• Fred Drake's avatar
    Instead of initializing & interning the strings passed to the profile · 62062a24
    Fred Drake authored
    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.
    62062a24
sysmodule.c 24.3 KB