Re:C++ exception performance three years later
by jart on Friday December 13, 2024 @04:10PM
(#42412380)
I'm just teasing out the one-time costs. Keep in mind, I'm using the above example to trace the libc/libc++/libcxxabi/libunwind runtimes. The first time you throw, it does a bunch of extra stuff, like getenv() and additional locking. I think the first throw needs about thirteen synchronization barriers total.
[ Parent
| on HN ]
There are no comments on this comment yet.