Array append performance

Lionello Lunesu lio at lunesu.remove.com
Wed Aug 27 06:52:31 PDT 2008


--snip--

I think it safe to conclude that memcpy (T2) is the fastest all-round 
solution. Only the inlined custom code can beat it.

What's more, to use memcpy only one line in gc.d needs to be changed. 
Both T3 and T4 would need a change in the compiler.

L.



More information about the Digitalmars-d mailing list