Hampus Fröjdholm 61f1b2db70 gpa: Add helper to calculate size class of empty buckets
Empty buckets have their `alloc_cursor` set to `slot_count` to allow the
size class to be calculated later. This happens deep within the free
function.

This adds a helper and a test to verify that the size class of empty
buckets is indeed recoverable.
2024-05-18 11:43:42 +02:00
..
2024-03-19 11:45:09 -07:00
2024-03-29 22:15:17 -07:00
2024-03-21 14:11:46 -07:00
2024-02-23 02:37:11 -07:00
2024-03-19 11:45:09 -07:00
2024-05-08 19:37:28 -07:00
2024-05-03 20:58:02 -07:00
2024-03-21 14:11:46 -07:00
2024-03-21 14:11:46 -07:00
2024-03-15 02:28:50 -04:00
2024-03-10 18:13:30 -07:00
2024-03-21 14:11:46 -07:00
2024-05-05 15:58:08 -04:00
2024-05-11 02:17:11 -07:00
2024-03-10 18:13:30 -07:00
2024-03-10 18:13:30 -07:00
2024-03-21 14:11:46 -07:00
2024-04-23 17:57:56 -07:00
2024-02-05 11:55:14 +03:30
2024-03-19 11:45:09 -07:00
2024-02-09 14:02:57 -08:00
2024-04-15 15:24:30 -07:00
2024-03-19 11:45:09 -07:00
2024-02-08 15:39:28 +01:00
2024-03-21 14:11:46 -07:00
2023-10-21 21:24:55 +00:00