mirror of
https://github.com/apple/swift-collections
synced 2026-11-24 04:27:53 +00:00
This leaves 56 bits for path data, which should still be plenty. (We want to allow big strings to grow to 2^48 UTF-8 code units, to match the standard String; however, there is no practical need to support any more, and even that is a stretch.) Add tests to verify that the tree capacity matches expectations in Release builds. (In Debug builds, we limit the maximum node size, which drastically reduces capacity. This is okay.)