compressed_stream::get_position: Check is_open().
compressed_stream::set_position: Ensure that pos.offset() <= size().
compressed_stream::get_buffer: Release m_buffer before requesting new buffer.
Initialize all fields of stream_position.
Add missing includes to sort_parameters.h
Compare boost::threads by id.
Introduce compressed stream buffer pool to decrease memory consumption of compressed streams.
Add compressed_stream::memory_usage.
Make merge_sorter use compressed streams.
Move run_positions into bits namespace, and move the implementation into a cpp file.
Document run_positions.