Browse code

core: pv - increased the size for vars and transformations tables

Daniel-Constantin Mierla authored on 19/07/2019 07:50:21
Showing 2 changed files
... ...
@@ -40,8 +40,8 @@
40 40
 #include "pvapi.h"
41 41
 #include "pvar.h"
42 42
 
43
-#define PV_TABLE_SIZE	64  /*!< pseudo-variables table size */
44
-#define TR_TABLE_SIZE	32  /*!< transformations table size */
43
+#define PV_TABLE_SIZE	512  /*!< pseudo-variables table size */
44
+#define TR_TABLE_SIZE	256  /*!< transformations table size */
45 45
 
46 46
 
47 47
 void tr_destroy(trans_t *t);
... ...
@@ -242,7 +242,7 @@ typedef struct _pv_cache
242 242
 	struct _pv_cache *next;
243 243
 } pv_cache_t;
244 244
 
245
-#define PV_CACHE_SIZE	64  /*!< pseudo-variables cache table size */
245
+#define PV_CACHE_SIZE	512  /*!< pseudo-variables cache table size */
246 246
 
247 247
 pv_cache_t **pv_cache_get_table(void);
248 248