diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2019-03-06 18:26:44 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2019-03-06 18:26:44 -0700 |
commit | 418e9354c03793b440ed431eff29d25529191802 (patch) | |
tree | d21124f5679c2a3facb6ff44333d1725483ffdcb /README.md | |
parent | Merge pull request #6 from benbjohnson/remove-cmp (diff) | |
download | pds-418e9354c03793b440ed431eff29d25529191802.tar.gz pds-418e9354c03793b440ed431eff29d25529191802.tar.xz |
Add SortedMapBuilder
This commit adds an efficient builder for creating SortedMap objects.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -263,7 +263,8 @@ built-in comparer implementations for `int`, `string`, and `[]byte` keys. You may pass a `nil` comparer to `NewSortedMap()` if you are using one of these key types. -The API is identical to the `Map` implementation. +The API is identical to the `Map` implementation. The sorted map also has a +companion `SortedMapBuilder` for more efficiently building maps. ### Implementing a custom Comparer |