mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
sweep garbage strings
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user