Karoy Lorentey

Results 171 comments of Karoy Lorentey

@AquaGeek In hindsight, I think the single huge library file isn't very useful -- I find I almost never want to generate benchmarks for every single data structure in this...

Agreed. Given that we have [swift-atomics](https://github.com/apple/swift-atomics), this would be technically possible (if a bit painful) to implement right now, although there are some significant API design questions/issues that need to...

Interesting! We have two overloads for these, one for sequences where `Element == (Key, Value)` and another for `Element == (key: Key, value: Value)`. I'm guessing the tuple labels can...

I wrote up the issue in https://bugs.swift.org/browse/SR-15539. While the type checker problem is being investigated, we can use the non-public, underscored `@_disfavoredOverload` attribute to work around this bug. That attribute...

This is now fixed on the release/1.0 branch. (Merge to main will happen after 1.0.3 is tagged.)

#115 allows all but one Heap tests to run in optimized builds. There are additional tests incoming though, so let's keep this open for now.

> I'd like to suggest adding an ordered collection similar to Swift's `Array`, but with stable indices. This sounds like it might be an interesting addition, if there is a...

@swift-ci test

> ```swift > protocol IntConvertible: Equatable { > var intValue: Int { get } > init(_ value: Int) > } > > protocol IndexIdentifiable { > associatedtype IndexType: IntConvertible >...