Portability | portable |
---|---|
Stability | experimental |
Maintainer | keithshep@gmail.com |
Safe Haskell | None |
For sorting huge lists on disk
- externalSort :: (Binary b, Ord b) => [b] -> [b]
- externalSortBy :: Binary b => (b -> b -> Ordering) -> [b] -> [b]
- externalSortByConstrained :: (Binary b, Integral i) => i -> i -> (b -> b -> Ordering) -> [b] -> [b]
- defaultByteQuota :: Int
- defaultMaxOpenFiles :: Int
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
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!