[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Ideas about implementing a string type?
- From: Rici Lake <lua@...>
- Date: Sun, 01 Apr 2007 15:36:23 -0500
David Kastrup wrote:
One possibility would be that at len=15 (add one byte for
0-termination), the length of string variable and content together
matches a size that makes malloc and/or free do extra work for some
There's only one malloc in the test. Take a look at the benchmark
to see what it's measuring.