Removes every entry but keeps the allocated slots, so refilling the table up to its old size allocates nothing.
Costs time linear in the slot count. Values are not freed; if they own memory, free it first.
table_reset_keeping_memory :: (table: *Table)
Removes every entry but keeps the allocated slots, so refilling the table up to its old size allocates nothing.
Costs time linear in the slot count. Values are not freed; if they own memory, free it first.
Parameters
- table: *Table