https://github.com/turtlesoupy/external_sort
An external sort function for Go.
https://github.com/turtlesoupy/external_sort
Last synced: over 1 year ago
JSON representation
An external sort function for Go.
- Host: GitHub
- URL: https://github.com/turtlesoupy/external_sort
- Owner: turtlesoupy
- Created: 2013-08-22T08:05:42.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-08-25T00:29:35.000Z (almost 13 years ago)
- Last Synced: 2025-02-09T21:32:58.035Z (over 1 year ago)
- Language: Go
- Size: 109 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go External Sort #
This module provides a sort for go data that is unable to fit into memory.
Call `ExternalSort` with channels to any interfaces that are [Gob](http://golang.org/pkg/encoding/gob)-encodable
and provide a `LessThan` method.
It works by writing sorting chunks of the input onto disk, and merging the
resulting files.
See `sort_test.go` for example usage.