mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
Tidying optimisation stuff.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@7938 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
392ad35b90
commit
f926a998e8
19 changed files with 165 additions and 139 deletions
|
@ -33,6 +33,7 @@
|
|||
#include <Foundation/NSString.h>
|
||||
#include <Foundation/NSPortCoder.h>
|
||||
#include <Foundation/NSDebug.h>
|
||||
#include <Foundation/NSObjCRuntime.h>
|
||||
|
||||
#define GSI_MAP_HAS_VALUE 0
|
||||
#define GSI_MAP_KTYPES GSUNION_OBJ
|
||||
|
@ -249,7 +250,7 @@ static Class mutableSetClass;
|
|||
return NO;
|
||||
|
||||
// Loop for all members in otherSet
|
||||
c = fastClass(otherSet);
|
||||
c = GSObjCClassOfObject(otherSet);
|
||||
if (c == setClass || c == mutableSetClass)
|
||||
{
|
||||
GSIMapNode node = ((NSGSet*)otherSet)->map.firstNode;
|
||||
|
@ -319,7 +320,7 @@ static Class mutableSetClass;
|
|||
}
|
||||
else
|
||||
{
|
||||
Class c = fastClass(other);
|
||||
Class c = GSObjCClassOfObject(other);
|
||||
|
||||
if (c == setClass || c == mutableSetClass)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue