News for hackers. Stuff that matters.
Re:Python 3.11: “Zero cost” exception handling by vlovich123 on Wednesday October 06, 2021 @11:03AM (#28773985)
Isn’t exception handling code placed in the cold section of the binary these days so that the impact on cache is nonexistent?

Yup, the generated assembly does this. There’s some minimal extra instructions still to setup the frame but the bulk of the exception handling lives elsewhere.

There are no comments on this comment yet.