succinct-cpp icon indicating copy to clipboard operation
succinct-cpp copied to clipboard

Clean up SuccinctShard input assumption and num_keys()

Open concretevitamin opened this issue 9 years ago • 0 comments

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.

concretevitamin avatar Aug 06 '15 03:08 concretevitamin