hash tidyups and rewrite of array sorting for better performance.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23967 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2006-10-26 08:33:40 +00:00
parent c1d009c3c1
commit 595be905a3
11 changed files with 180 additions and 173 deletions

View file

@ -41,6 +41,7 @@
#include "Foundation/NSObjCRuntime.h"
#include "NSConcreteNumber.h"
#include "GSPrivate.h"
@interface GSCachedBool : NSBoolNumber
@end
@ -152,7 +153,7 @@ GSNumberInfoFromObject(NSNumber *o)
}
unsigned int
GSSmallHash(int n)
GSPrivateSmallHash(int n)
{
return smallHashes[n + GS_SMALL];
}