Re: Concept: Lightweight error channels

From: Date: Thu, 01 May 2025 14:30:15 +0000
Subject: Re: Concept: Lightweight error channels
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-127265@lists.php.net to get a copy of this message
> > Do we consider a difference of 0.075/100000s vs 0.115/100000s that big a deal when > > compared to (e.g.) establishing a database connection? > > The first part, the 0.075 vs 0.115... yeah, we care. That's 50% > slower. But the thing is, the math with exceptions is kind of knowable > because one of the key aspects of its cost is walking the call stack. > How deep is the call stack going to be when a given library throws an > exception? You don't really know. Oops, key typo: kind of _unknowable_.

« previous php.internals (#127265) next »