Allocating all the required memory upfront is key to better performance.
Different platforms have different optimizations, so I use the
following buffer concept in my programs so they have roughly the same
performance regardless of platform.
I wrote about it on u2ugWiki and PickWiki:
http://212.241.202.162/cms/cmswiki.wsp?id=173
http://www.pickwiki.com/cgi-bin/wiki.pl?How-To_Improve_Large_String_Performance_Using_Buffers
rex
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users