3 ms·
One of the stated benefits of this is > Calls to Python functions would be faster as frame objects would be considerably smaller. Currently each frame carries
by Someone 5y ago
One of the stated benefits of this is
> Calls to Python functions would be faster as frame objects would be considerably smaller. Currently each frame carries 240 bytes of overhead for exception handling.
I guess that’s where this will pay even in a language/ecosystem where exceptions aren’t exceptional.
- bregma 5y agoIt's a time-space tradeoff. A few bytes less overhead on the stack, a few CPU cycles more overhead when raising an exception. Is it a net win? Show me empirical test results.