Releases: appaquet/extsort-rs
Releases · appaquet/extsort-rs
v0.5.0
- Breaking: The
Sortable
trait now returnsstd::io::Result
on bothencode
anddecode
methods, exposing underlying errors. - Breaking: The
SortedIterator
iterator now returnsstd::io::Result<T>
instead ofT
directly, allowing propagation of underlying errors. - Breaking change: The comparator methods or key extractor now require being
Clone
. This change should not affect most users, as closures areClone
if
they don't capture any variables. - Added a new "pushed" iterator, which allows pushing new elements instead of
consuming them through an iterator. This is particularly useful when the data is
not readily available as an iterator. - Methods accepting iterators now accept
IntoIterator
for flexibility.
v0.4.2
v0.4.0
Added
- Support for parallel sorting of the in-memory buffer (see
ExternalSorter::with_parallel_sort
).
This feature is not always beneficial if the in-memory buffer is not big enough for parallelism to
have an impact, so benchmark your workload.