contents   index   previous   next



CORE CUSTOMIZATION

 

The following options modify the internals of the ScriptEase core, and are used mostly to balance performance and memory use.

 


JSE_MIN_MEMORY (off for most systems)

JSE_MULTIPLE_GLOBAL (on)

JSE_HASH_SIZE (256)

JSE_ONE_STRING_TABLE (off)

JSE_INFREQUENT_COUNT (5000)

JSE_INTERNAL_PROFILING (off)

JSE_GET_RESOURCE (off)

JSE_SHORT_RESOURCE (off)

JSE_TRAP_NOWHERE (off)

JSE_INLINES (on, off if JSE_MIN_MEMORY is defined)

JSE_PEEPHOLE_OPTIMIZER (on)

JSE_CACHE_GLOBAL_VARS (on)

JSE_GLOBAL_CACHE_SIZE (10)

JSE_COMPACT_LIBFUNCS (off)

JSE_ALIGN_DATA (off)

JSE_REFCOUNT (off)

JSE_GC (on)

SE_OBJ_POOL_SIZE (1024, 128 if JSE_MIN_MEMORY is on)

SE_MEM_POOL_SIZE (1024, 128 if JSE_MIN_MEMORY is on)

SE_STRING_POOL_SIZE (512, 64 if JSE_MIN_MEMORY is on)

JSE_STRINGS_COLLECT (1000000, 100000 if JSE_MIN_MEMORY is on)

JSE_PACK_OBJECTS (off, on is JSE_MIN_MEMORY is on)

JSE_PACK_SECODES (off, on if JSE_MIN_MEMORY is on)

JSE_POOL_STRINGDATA (on, off if JSE_MIN_MEMORY is on)

JSE_PER_OBJECT_CACHE (on, off if JSE_MIN_MEMORY is on)

JSE_PER_OBJECT_MISS_CACHE (on, off if JSE_MIN_MEMORY is on)

SE_APISTRING_POOL_SIZE (5)

SE_APIVARNAME_POOL_SIZE (5)

SE_STACK_SIZE (2048, 512 if JSE_MIN_MEMORY is on)

SE_MAX_STACK_INFO_DEPTH (64)