diff options
author | Robert Moore <Robert.Moore@intel.com> | 2014-08-14 09:50:01 -0700 |
---|---|---|
committer | Robert Moore <Robert.Moore@intel.com> | 2014-08-14 09:50:01 -0700 |
commit | fcd2e228352682e64e60d594b228f8544241b580 (patch) | |
tree | 845bb99d2b22a94121b5c9ff2514b2c7a29b67a2 /source/compiler/asldefine.h | |
parent | f1596580344531d9ae7e68e3f6a20135f9afd976 (diff) | |
download | acpica-fcd2e228352682e64e60d594b228f8544241b580.tar.gz |
iASL/TableCompiler: Add object caching, cleanup memory leaks.
Add object caches for the field and subtable objects, to improve
performance and to simplify memory management.
Diffstat (limited to 'source/compiler/asldefine.h')
-rw-r--r-- | source/compiler/asldefine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/compiler/asldefine.h b/source/compiler/asldefine.h index a772d9ad2..f4091dda4 100644 --- a/source/compiler/asldefine.h +++ b/source/compiler/asldefine.h @@ -133,8 +133,8 @@ /* Configuration constants */ #define ASL_MAX_ERROR_COUNT 200 -#define ASL_PARSEOP_CACHE_SIZE 1024 -#define ASL_STRING_CACHE_SIZE (1024 * 32) +#define ASL_PARSEOP_CACHE_SIZE (1024 * 16) +#define ASL_STRING_CACHE_SIZE (1024 * 64) #define ASL_FIRST_PARSE_OPCODE PARSEOP_ACCESSAS #define ASL_PARSE_OPCODE_BASE PARSEOP_ACCESSAS /* First Lex type */ |