diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 25 |
1 files changed, 24 insertions, 1 deletions
@@ -2,7 +2,7 @@ Immutable ` if you are using +one of these key types. + + +## Sorted Set + +The `SortedSet` represents a sorted collection of unique values. +Unlike the `Set`, however, keys can be iterated over in-order. It is implemented +as a B+tree. + +Sorted sets require a `Comparer` to sort values and check for equality. There are +built-in comparer implementations for `int`, `uint`, and `string` keys. You may +pass a `nil` comparer to `NewSortedSet()` if you are using one of these key +types. + +The API is identical to the `Set` implementation. ## Contributing |