Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use segmented Slice in SliceDictionaryWriter
Store elements of dictionary in Segmented Slices, instead of one contiguous segment. When the number of elements in the dictionary is less than 100,000 there is no noticeable performance degradation. When the number of elements in the dictionary reaches 10,000,000 sorting/comparing the element needs to compute segment/offset which makes it worse by 10%. But this is an unlikely case.
- Loading branch information