From 418e9354c03793b440ed431eff29d25529191802 Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Wed, 6 Mar 2019 18:26:44 -0700 Subject: Add SortedMapBuilder This commit adds an efficient builder for creating SortedMap objects. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 653b9bb..c151641 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3