I think I would sort the chunk positions first, then you would read the file in only one direction. As you've only got a small number of blocks the sort won't be costly, and then two blocks close together may fall in the same read ahead window.
It just might improve performance on some file systems/OSes
In reply to Re^4: high speed checksum for video finger printing?
by RichardK
in thread high speed checksum for video finger printing?
by faber
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |