Re: [TSVN] CString vs std::string
From: Will Dean <svn_at_indcomp.co.uk>
Date: 2004-12-22 13:10:55 CET
At 12:52 22/12/2004 +0100, you wrote:
>I always had the impression that STL is usually faster than MFC/ATL,
I think that depends on what you're doing. For example, the current STL
The std::string has a small-string optimisation, which means that strings
Like everything else in optimisation, you have to measure rather than say
>(and of course map, vector, ...).
Well, they have a different growth strategy to the MFC arrays, and they get
>And if I
I replaced the arrays, not the strings. And I did that because I'd seen a
>So what advantages would we have by switching to ATL?
We would clean-up the code, so that there weren't situations like there are
If I was to do my unified Path class, I would have to choose a string type
Cheers,
Will
---------------------------------------------------------------------
|
This is an archived mail posted to the TortoiseSVN Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.