Sujet : Re: encapsulating directory operations
De : Bonita.Montero (at) *nospam* gmail.com (Bonita Montero)
Groupes : comp.lang.cDate : 08. Jun 2025, 21:07:13
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <1024qh2$1iim$2@raubtier-asyl.eternal-september.org>
References : 1 2 3 4 5 6 7 8 9 10 11
User-Agent : Mozilla Thunderbird
Am 08.06.2025 um 18:55 schrieb Scott Lurndal:
I've used sigsetjmp/siglongjmp in C++ code, very successfully. As an experiment a few
years ago, I replaced it with C++ exceptions and took a 20% performance
hit in the application. Needless to say the experiment was a failure.
Exceptions aren't for the regular case but for exceptions. I.e. if you
have an I/O error or there's not enough memory. The time to handle this
cases doesn't matter.