mirror of
https://github.com/apple/swift-collections
synced 2026-11-24 04:27:53 +00:00
Don’t just append new items to the end of storage — it misleads clients into assuming that the containers preserve insertion order, when they most certainly don’t do that. Instead, insert new items into the middle of storage, using an extra swap.