]> mj.ucw.cz Git - libucw.git/blob - lib/sorter/TODO
ed0af57b3de5a42cdd31a7111a79e082f96b6412
[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  Clean up log levels.
9 o  Clean up introductory comments.
10 o  Log messages should show both original and new size of the data. The speed
11    should be probably calculated from the former.
12 o  Automatically tune ASORT_MIN_RADIX, ASORT_MIN_SHIFT and especially ASORT_RADIX_BITS.
13
14 Improvements:
15 o  Switching between direct and normal I/O. Should use normal I/O if the input is small enough.
16 o  How does the speed of radix splitting decrease with increasing number of hash bits?
17    Does it help to use more bits than we need, so that we sort less data in memory?
18
19 Users of lib/sorter/array.h which might use radix-sorting:
20 indexer/chewer.c
21 indexer/lexfreq.c
22 indexer/mkgraph.c
23 indexer/reftexts.c