Files
cpython/Python
Tim Peters 7df5e7f4b2 Patch 1145039.
set_exc_info(), reset_exc_info():  By exploiting the
likely (who knows?) invariant that when an exception's
`type` is NULL, its `value` and `traceback` are also NULL,
save some cycles in heavily-executed code.

This is a "a kronar saved is a kronar earned" patch:  the
speedup isn't reliably measurable, but it obviously does
reduce the operation count in the normal (no exception
raised) path through PyEval_EvalFrameEx().

The tim-exc_sanity branch tries to push this harder, but
is still blowing up (at least in part due to pre-existing
subtle bugs that appear to have no other visible
consequences!).

Not a bugfix candidate.
2006-05-26 23:14:37 +00:00
..
2006-04-13 13:08:58 +00:00
2006-05-26 23:14:37 +00:00
2006-04-28 05:28:30 +00:00
2006-05-15 09:22:27 +00:00
2006-04-18 00:57:15 +00:00
2006-04-15 18:14:21 +00:00
2006-04-28 05:28:54 +00:00