An open API service indexing awesome lists of open source software.

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.

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.