Skip to content

Commit

Permalink
update todo in .h file
Browse files Browse the repository at this point in the history
Signed-off-by: Viktor Söderqvist <[email protected]>
  • Loading branch information
zuiderkwast committed Sep 1, 2024
1 parent eaebc11 commit 911f04d
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions src/hashtab.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,20 @@ typedef struct {
int safe;
} hashtabIterator;

/* TODO: stats */

/* Not needed: defrag functions (solved by emit_ref in scan) */
/* TODO:
*
* - RehashingInfo
* - Stats/debugging (GetStatsMsg, GetStatsHt, CombineStats, FreeStats)
* - size_t hashtabMemUsage(t)
* - get random and fair-random element
* - get some elements (unfair random)
* - empty (delete all elements)
* - two-phase delete (find position + delete at position) API
* - two-phase insert (find position + insert at position) API
* - Type flag to disable incremental rehashing.
*
* Not needed: defrag functions (solved by emit_ref in scan) */

/* TODO: Type flag to disable incremental rehashing. */

/* --- Inline functions --- */

Expand Down

0 comments on commit 911f04d

Please sign in to comment.