mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
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:
parent
c1d009c3c1
commit
595be905a3
11 changed files with 180 additions and 173 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue