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

@ -40,6 +40,11 @@
@implementation NSGCString
+ allocWithZone: (NSZone*)z
{
return NSAllocateObject (self, 0, z);
}
- (void)dealloc
{
if (_zone) {
@ -479,6 +484,11 @@
@implementation NSGMutableCString
+ allocWithZone: (NSZone*)z
{
return NSAllocateObject (self, 0, z);
}
+ (void) initialize
{
static int done = 0;