txt-sushi-0.4.0: Spreadsheets are databases!

Database.TxtSushi.ExternalSort

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!