Turn off assertions for better performance

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4117 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-04-22 21:27:36 +00:00
parent 4dc88aa719
commit 4add92757a

View file

@ -30,10 +30,10 @@
#endif
/* To turn assertions on, comment out the following four lines */
//#ifndef NS_BLOCK_ASSERTIONS
//#define NS_BLOCK_ASSERTIONS 1
//#define FAST_ARRAY_BLOCKED_ASSERTIONS 1
//#endif
#ifndef NS_BLOCK_ASSERTIONS
#define NS_BLOCK_ASSERTIONS 1
#define FAST_ARRAY_BLOCKED_ASSERTIONS 1
#endif
#define FAST_ARRAY_CHECK NSCAssert(array->count <= array->cap && array->old <= array->cap && array->old >= 1, NSInternalInconsistencyException)