Author: theraven
Date: Wed Nov 16 21:48:50 2011
New Revision: 34181

URL: http://svn.gna.org/viewcvs/gnustep?rev=34181&view=rev
Log:
Store tiny strings (up to 8 ASCII characters) inside the pointer.  Strings of
this length are fairly common, and this makes them very cheap to store / copy /
compare (pointer comparisons test for equality).  8 characters seems to be
enough for quite a lot of common uses, such as path components and tokens.
There are possibly still some things constructing tiny strings and not using
these.


Modified:
    libs/base/trunk/Source/GSString.m


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to