minor, replace exponential resizing with cuckoo-style collision resolution

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide a real output file format

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, PEBKAC, obey operator precedence

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, PEBKAC, use named initialisers in save()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, provide regression test for stateful mode

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'tool/enum'

* tool/enum:
  test, provide regression test for stateful mode
  fix, PEBKAC, use named initialisers in save()
  fix, PEBKAC, obey operator precedence
  minor, provide a real output file format
  minor, replace exponential resizing with cuckoo-style collision resolution