Re: Buffer overflows
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 31, 2007, 10:06 UTC
- Message-ID
- <Pine.LNX.4.64.0708311104200.28586@racer.site>
- In-Reply-To
- <1188536430.29782.903.camel@hurina>
Hi,
On Fri, 31 Aug 2007, Timo Sirainen wrote:
Show 7 quoted lines
> On Thu, 2007-08-30 at 21:09 -0700, Linus Torvalds wrote: > > > So yes, I bet there are faster string libraries out there. > > Oh, well that's easy to fix. But I don't think the speed matters much in > string manipulation, it's usually not done in performance critical > paths.
AFAIR one of the recent performance studies showed strlen() as one of the _biggest_ offenders. So no, your point has been disproven _already_.
I have to wonder, though, why you do not just go and enhance strbuf.[ch], which is nice and easy, and not the least unelegant.
Ciao, Dscho