Files
swift-collections/Sources/DequeModule
Károly Lőrentey efefae5653 [Deque] append(contentsOf:): Use exponential capacity reservation
Depending on the supplied sequence, `Deque.append(contentsOf:)` currently reserves just enough capacity as it needs to perform the append. This isn't right -- it can result in O(n) reallocs instead of O(log(n)) when items are incrementally appended in constant-sized `append(contents:)` batches.
2021-11-15 16:12:28 -08:00
..
2021-04-05 09:41:00 -07:00
2021-04-05 09:41:00 -07:00
2021-04-05 09:41:00 -07:00
2021-04-05 09:41:00 -07:00
2021-04-05 09:41:00 -07:00
2021-04-05 09:41:00 -07:00
2021-04-05 09:41:00 -07:00
2021-04-05 09:41:00 -07:00