Mercurial > cpython-lru_cache-weakref
comparison Python/exceptions.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 | 32e7d0898eab |
| children | 09df3254b49d |
comparison
equal
deleted
inserted
replaced
| 18134:eff8da7c3dcb | 18136:4cb34314bd97 |
|---|
