I'm learning something here! I find it surprising that it should be so slow though. Using a vector was one step up from deleting / newing a char[], but the resize is an infrequent event anyway... Daniel, any opinion on this?