Performance hacks

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2895 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1998-08-03 15:31:33 +00:00
parent eab7b60ea6
commit 7cb7aa24bb
7 changed files with 199 additions and 57 deletions

View file

@ -30,6 +30,10 @@
#include <gnustep/base/o_hash.h>
#include <gnustep/base/o_map.h>
/* Efficiency hack - the o_map_key_callbacks() incurs a function-call
overhead and we use it a lot! */
#define o_map_key_callbacks(X) ((X)->key_callbacks)
/* To easily un-inline functions for debugging */
#define INLINE inline