]> mj.ucw.cz Git - libucw.git/blob - lib/sorter/TODO
f36cc1cebcdc477c0a38054eae02576c2df730ea
[libucw.git] / lib / sorter / TODO
1 Testing:
2 o  Giant runs.
3 o  Records of odd lengths.
4 o  Empty files.
5
6 Cleanups:
7 o  Clean up data types and make sure they cannot overflow. (size_t vs. u64 vs. sh_off_t vs. uns)
8 o  Log messages should show both original and new size of the data. The speed
9    should be probably calculated from the former.
10 o  Automatically tune ASORT_MIN_RADIX, ASORT_MIN_SHIFT and especially ASORT_RADIX_BITS.
11 o  Check undefs in sorter.h and array.h.
12
13 Improvements:
14 o  Switching between direct and normal I/O. Should use normal I/O if the input is small enough.
15 o  How does the speed of radix splitting decrease with increasing number of hash bits?
16    Does it help to use more bits than we need, so that we sort less data in memory?
17 o  Add automatic joining to the custom presorter interface?