diff --git a/Sources/FoundationEssentials/JSON/JSONEncoder.swift b/Sources/FoundationEssentials/JSON/JSONEncoder.swift index 58e59b8d2..cff1d0719 100644 --- a/Sources/FoundationEssentials/JSON/JSONEncoder.swift +++ b/Sources/FoundationEssentials/JSON/JSONEncoder.swift @@ -589,7 +589,7 @@ enum JSONFuture { var dict: [String: JSONFuture] = [:] init() { - self.dict.reserveCapacity(20) + self.dict.reserveCapacity(4) } init(dict: [String: JSONFuture]) {