salad: light: limit table size by (2^32)-8 records
This is the maximum possible capacity of a hash table with 32-bit record identifiers and 8-element `LIGHT_GROW_INCREMENT`. Needed for #9864 NO_DOC=see next commit NO_CHANGELOG=see next commit
Showing
- src/lib/core/random.c 9 additions, 0 deletionssrc/lib/core/random.c
- src/lib/core/random.h 8 additions, 0 deletionssrc/lib/core/random.h
- src/lib/salad/light.h 9 additions, 0 deletionssrc/lib/salad/light.h
- test/unit/CMakeLists.txt 2 additions, 2 deletionstest/unit/CMakeLists.txt
- test/unit/light.cc 58 additions, 1 deletiontest/unit/light.cc
Loading
Please register or sign in to comment