** If possible, shrink string table. */
| 933 | ** If possible, shrink string table. |
| 934 | */ |
| 935 | static void checkSizes (lua_State *L, global_State *g) { |
| 936 | if (!g->gcemergency) { |
| 937 | if (g->strt.nuse < g->strt.size / 4) /* string table too big? */ |
| 938 | luaS_resize(L, g->strt.size / 2); |
| 939 | } |
| 940 | } |
| 941 | |
| 942 | |
| 943 | /* |
no test coverage detected