MIT Technology Review: An Interview With Bjarne Stroustrup
zz
zz at zz.com
Tue Dec 5 14:24:14 PST 2006
Sean Kelly wrote:
> zz wrote:
>
> How long are these tests? Could they be put online somewhere? I'd be
> interested in trying these out for myself and see if I can close the gap
> a bit.
The test were run about 20 times with the average taken.
The test was very simplistic and I'll send them to you tomorrow (I'm out
of the office until tomorrow).
Generally it's a structure with three strings, and it's newed filled in
and pushed back into the vector 1,000,000 times (we have higher).
I also did the same test in C using talloc which is a hierarchical pool
based memory allocator using VS2003 and DMC and if I recall correctly
these are the numbers:
VS2003 = 4.0 - 4.5
VS2003 with nedmalloc = 2.0 - 2.5
DMC = 6.5 - 7.5
Zz
>
> Sean
More information about the Digitalmars-d
mailing list