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.
* [utils] Add utility for shuffling sources to help reproduce MergeModules issues
* [Deque] Collapse Sequence/Collection conformances into a single file
The MergeModules phase in the compiler is broken: it isn’t always able to correctly handle circular dependencies across source files, like the ones that keep organically popping up with Sequence/Collection conformances that are defined in separate files.
Such dependencies sometimes triggers a compiler crash, depending on some (unknown) environmental parameters.
Trying to manually find and eliminate these circular dependencies has not proved productive. Instead, roll all Collection conformances into a single, huge source file.
* [Deque] Update CMakeLists
* [cmake] Support amd64 architecture name.
On OpenBSD, "x86_64" is called "amd64", and therefore recognition of this
name is required for the cmake build.
* [cmake] Add missing file.
This is required since, for example, `Deque+Extras` requires
`_withContiguousStorageIfAvailable_SR14663`.
* ManagedBuffer.capacity is unavailable on OpenBSD.
ManagedBuffer requires nonstandard API to implement `capacity` and
subsequently is unavailable on OpenBSD. For portability, just use
`minimumCapacity` on this platform.