txt-sushi-0.6.0: The SQL link in your *NIX chain

Portabilityportable
Stabilityexperimental
Maintainerkeithshep@gmail.com
Safe HaskellNone

Database.TxtSushi.ExternalSort

Description

For sorting huge lists on disk

Synopsis

Documentation

externalSort :: (Binary b, Ord b) => [b] -> [b]Source

performs an external sort on the given list using the default resource constraints

externalSortBy :: Binary b => (b -> b -> Ordering) -> [b] -> [b]Source

performs an external sort on the given list using the given comparison function and the default resource constraints

externalSortByConstrained :: (Binary b, Integral i) => i -> i -> (b -> b -> Ordering) -> [b] -> [b]Source

performs an external sort on the given list using the given resource constraints

defaultByteQuota :: IntSource

Currently 16 MB. Don't rely on this value staying the same in future releases!

defaultMaxOpenFiles :: IntSource

Currently 17 files. Don't rely on this value staying the same in future releases!