succinct-cpp
succinct-cpp copied to clipboard
Clean up SuccinctShard input assumption and num_keys()
IIRC, if an input file of N lines (with the last character being a \n) is passed to SuccinctShard ctor, num_keys() will incorrectly return N+1, treating the last key as having empty value. Not sure what will happen if the last EOL is stripped.