use 5+27 length for quadrable keys instead of 9+23

- reduces quadrable branching
- increases collision resistance
- good until year 2514
This commit is contained in:
Doug Hoyte
2023-01-25 16:31:31 -05:00
parent 485abee8ed
commit 9e2bc45a46
4 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,4 @@
#pragma once
const size_t MAX_SUBID_SIZE = 63;
const size_t MAX_SUBID_SIZE = 63; // Statically allocated size in SubId
const uint64_t MAX_TIMESTAMP = 17179869184; // Safety limit to ensure it can fit in quadrable key. Good until year 2514.