the simple method cache seems working now. pending refinement

This commit is contained in:
hyunghwan.chung
2019-06-22 14:22:58 +00:00
parent b33e0744d2
commit ae20171772
4 changed files with 33 additions and 7 deletions

View File

@ -1336,6 +1336,7 @@ struct moo_method_cache_item_t
};
typedef struct moo_method_cache_item_t moo_method_cache_item_t;
/* it must be a power of 2. otherwise cache hash will fail miserably */
#define MOO_METHOD_CACHE_SIZE 4096
/* =========================================================================