Array append performance 2

bearophile bearophileHUGS at lycos.com
Mon Sep 1 16:33:39 PDT 2008


Well, a finished version of ArrayBuilder is in my libs, in the 'builders' module:
http://www.fantascienza.net/leonardo/so/libs_d.zip

I have already used it to replace the old string appending used in the putr() (printing functions) and now printing is about 2.5 times faster (and using it for that purpose is a way to perform hundreds of unit tests on ArrayBuilder), so I'm quite pleased.

Bye, and thank you for all the help and answers (but more bugs can be present still),
bearophile



More information about the Digitalmars-d mailing list