3 Commits
Author SHA1 Message Date
Karoy Lorentey 75837a7717 Flesh out RigidArray 2025-04-24 01:14:09 -07:00
Károly Lőrentey 8df65118eb Merge branch 'main' into feature/SortedCollections
# Conflicts:
#	.swiftpm/xcode/xcshareddata/xcschemes/swift-collections-Package.xcscheme
#	.swiftpm/xcode/xcshareddata/xcschemes/swift-collections-benchmark.xcscheme
#	Benchmarks/Benchmarks/CppBenchmarks.swift
2021-11-22 15:17:41 -08:00
Vihan Bhargava 62adcfad06 Add exhaustive SortedSet tests and benchmarks.
Key Changes:
 - Add tests and benchmarks for SortedSet
 - Fix bug during _Node.UnsafeHandle.popFirstElement() rebalancing
 - Enable _Node.UnsafeHandle.subscript(elementAt:) to work on value-less nodes.

Minor Changes:
 - Optimize Codable to use _BTree.Builder and forEach
 - Codable now checks for order, not strictly uniqueness
 - Add smaller node size for debug builds to easily catch errors
2021-08-20 00:45:58 -07:00