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

@@ -49,6 +49,10 @@ CState *cosmoV_newState() {
state->iStrings[ISTRING_GETTER] = cosmoO_copyString(state, "__getter", 8);
state->iStrings[ISTRING_SETTER] = cosmoO_copyString(state, "__setter", 8);
// set the IString flags
for (int i = 0; i < ISTRING_MAX; i++)
state->iStrings[i]->isIString = true;
return state;
}