Commit Graph
6 Commits
Author SHA1 Message Date
Karoy Lorentey b5fc030a8e Merge pull request #508 from lorentey/container-previews-1
First round of noncopyable constructs: `Box`, `RigidArray`, `DynamicArray`
2025-08-29 18:23:24 -07:00
Karoy Lorentey 54c65310f4 Adopt #filePath in test assertions 2025-08-17 13:23:00 -07:00
Brian Chang 4ea19dd03e [SortedSet] Add test case for indexOf 2025-08-13 13:47:48 +08:00
Brian Chang a98fbaba8b [SortedSet] Fix subtreeCount inconsistency after remove at index
Previously, when removing an element from a child node, the subtreeCount
of the current internal node wasn't updated, leading to incorrect counts.
2025-08-01 22:45:17 +08: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