Performance enhancements.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3110 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1998-10-25 07:56:22 +00:00
parent e6d36d8e5c
commit bbabd52501
4 changed files with 35 additions and 1 deletions

View file

@ -48,6 +48,11 @@
@implementation NSGString
+ allocWithZone: (NSZone*)z
{
return NSAllocateObject (self, 0, z);
}
- (void)dealloc
{
if (_zone)
@ -319,6 +324,11 @@
// @protocol NSMutableString <NSString>
+ allocWithZone: (NSZone*)z
{
return NSAllocateObject (self, 0, z);
}
+ (void) initialize
{
static int done = 0;