Re: creating classes on the fly ??
Re: creating classes on the fly ??
- Subject: Re: creating classes on the fly ??
- From: Thomas Engelmeier <email@hidden>
- Date: Sat, 22 Sep 2007 20:32:22 +0200
On 22.09.2007, at 20:03, Clark Cox wrote:
I thought it still used 2-byte quantities and thus still worked on
the wrong level,
wchar_t has always been 32-bit on MacOSX.
... bloating the memory requirement probably by 3.8 for 1.000.000
entities for the OP's problem. Which might make the difference
between a heavy swapping and a fast application.
Anyway, one would still have to normalize
strings, because I'm sure wstring's compare routines will consider
"ä" (lowercase 'A' umlaut) and a¨ (a followed by diaeresis as a
decomposed sequence) to be different.
Indeed, but for simple storage of the string, wstring is quite
sufficient.
Only for storage. But not for comparision and case-insensitive or
diacritic-aware search.
YMMV - while I've build quite some (international savy) apps based
on std::basic_string, I'm not sure it is the best choice here.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden