Mercurial > cpython-lru_cache-weakref
comparison Python/errors.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 | 6a2e2548e6cf |
| children | e1c91ac55cca |
comparison
equal
deleted
inserted
replaced
| 18134:eff8da7c3dcb | 18136:4cb34314bd97 |
|---|
