Some optimisation -avoid unnedded objc runtime overheads by using allocation

and deallocation functions directly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4404 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-06-14 09:59:59 +00:00
parent 6dc52d72a6
commit 05f1c5e2a4
3 changed files with 77 additions and 50 deletions

View file

@ -160,7 +160,6 @@
- (id)initWithBytes: (const void *)value objCType: (const char *)type
{
typedef _dt = data;
self = [super init];
data = *(_dt *)value;
return self;
}
@ -306,14 +305,6 @@
return NO;
}
- (BOOL) isEqual: o
{
if ([o isKindOf: [NSNumber class]])
return [self isEqualToNumber: (NSNumber*)o];
else
return [super isEqual: o];
}
- (NSString *)descriptionWithLocale: (NSDictionary*)locale
{
#if TYPE_ORDER == 0