From 16f31c690251c8eb51ede42b4850184c93f6a1ae Mon Sep 17 00:00:00 2001 From: Goryudyuma Date: Thu, 28 Nov 2019 00:41:06 +0900 Subject: [PATCH] fix document: computational complexity --- src/Dict.elm | 2 +- src/Set.elm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Dict.elm b/src/Dict.elm index 3f80842c..b4d4c8c0 100644 --- a/src/Dict.elm +++ b/src/Dict.elm @@ -11,7 +11,7 @@ module Dict exposing type. This includes `Int`, `Float`, `Time`, `Char`, `String`, and tuples or lists of comparable types. -Insert, remove, and query operations all take *O(log n)* time. +Insert, update, remove, member, and get operations all take *O(log n)* time. # Dictionaries @docs Dict diff --git a/src/Set.elm b/src/Set.elm index 33256e64..36103885 100644 --- a/src/Set.elm +++ b/src/Set.elm @@ -11,7 +11,7 @@ module Set exposing includes `Int`, `Float`, `Time`, `Char`, `String`, and tuples or lists of comparable types. -Insert, remove, and query operations all take *O(log n)* time. +Insert, remove, and member operations all take *O(log n)* time. # Sets @docs Set