If the percentage of used slots in the HT reaches HASHTABLE_MIN_FILL * we resize the hash table to save memory */
| 1679 | /* If the percentage of used slots in the HT reaches HASHTABLE_MIN_FILL |
| 1680 | * we resize the hash table to save memory */ |
| 1681 | void tryResizeHashTables(int dbid) { |
| 1682 | g_pserver->db[dbid]->tryResize(); |
| 1683 | } |
| 1684 | |
| 1685 | /* Our hash table implementation performs rehashing incrementally while |
| 1686 | * we write/read from the hash table. Still if the server is idle, the hash |
no test coverage detected