优化SSM查询

This commit is contained in:
hong
2019-04-17 13:58:56 +08:00
committed by 云风
parent cf18b59d90
commit 4c17005c03

View File

@@ -579,7 +579,7 @@ luaS_clonestring(lua_State *L, TString *ts) {
if (result)
return result;
// look up SSM by ptr
result = query_string(ts, 0, NULL, 0);
result = query_string(ts, ts->hash, NULL, 0);
if (result)
return result;
h = luaS_hash(str, l, 0);