small string optimization?
David Leimbach
kde-optimize@mail.kde.org
Tue, 21 Jan 2003 18:18:10 -0600
On Tuesday, January 21, 2003, at 07:22 AM, Lubos Lunak wrote:
> On Tuesday 21 of January 2003 03:22, Steve Hutton wrote:
>> I haven't looked at the QString code to see if
>> they are already doing this. If not, perhaps
>> the small string optimization recently adopted by
>> many std::string implemenations might improve
>> performance?
>>
>> http://tinyurl.com/4om6
>
> I think you can forget the first ShortSize == sizeof(char*) case, as
> that's
> only two QChar's,
Or 4 on some 64bit platforms...