smarter caching

This commit is contained in:
2020-12-09 20:46:20 -06:00
parent 181ef8a18c
commit b1facfc92f
4 changed files with 10 additions and 2 deletions

View File

@@ -37,6 +37,7 @@ typedef struct CObj {
typedef struct CObjString {
CommonHeader; // "is a" CObj
bool isIString;
int length;
char *str;
uint32_t hash; // for hashtable lookup