sweep garbage strings

This commit is contained in:
Cloud Wu
2019-04-18 15:36:14 +08:00
committed by 云风
parent 2bcc691c4d
commit 47d1047004
4 changed files with 108 additions and 9 deletions

View File

@@ -49,13 +49,16 @@ struct ssm_info {
int total;
int longest;
int slots;
int garbage;
size_t size;
size_t garbage_size;
double variance;
};
struct ssm_collect {
void *key;
int n;
int sweep;
};
LUA_API void luaS_initssm();