diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2014-11-02 22:34:23 -0600 |
---|---|---|
committer | Bobby Bingham <koorogi@koorogi.info> | 2014-11-02 22:34:23 -0600 |
commit | 8161ac06785068da5234553b528ecbbc8339e232 (patch) | |
tree | 5485f1e1d89ab5a38659e7606e89c2af71c88477 /counts.h | |
parent | 97427b08ef4e91e31f7694fd691774c012f23dff (diff) |
Fill buffer with smallest elements
This avoids the need to distribute the buffer through the whole array at
the end. It also allows us to skips most of the work for sorted and
reverse-sorted inputs.
Diffstat (limited to 'counts.h')
-rw-r--r-- | counts.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,9 +4,10 @@ enum { CURRENT, SORTNET, + CHECK_SORTED, + STEAL_BUF, LAST_OVERLAP, MERGE, - MOVE_BUFFER, DISTRIBUTE, MAX_COUNTS }; |