Karoy Lorentey

Results 247 comments of Karoy Lorentey

``` 17:36:08 /Users/buildnode/jenkins/workspace/pr-swift-atomics-macos/branch-main/swift-atomics/Sources/Atomics/autogenerated/HighLevelTypes.swift:105:26: error: unknown attribute 'unchecked' 17:36:08 extension ManagedAtomic: @unchecked Sendable where Value: Sendable {} 17:36:08 ^ 17:36:08 /Users/buildnode/jenkins/workspace/pr-swift-atomics-macos/branch-main/swift-atomics/Sources/Atomics/autogenerated/HighLevelTypes.swift:82:14: error: non-final class 'ManagedAtomic' cannot conform to `Sendable`; use `UnsafeSendable`...

This is neat! Reminds me a little of the segmented iterators article (http://lafstern.org/matt/segmented.pdf). The iterator should be a COW value type, so it needs a simple wrapper struct; but other...

Adding those methods seemed like a good idea at the time, but I haven't actually found them very useful in practice. I don't think it'd be a big deal to...

Ah, indeed, a new branch is a good idea.

OK, so I added a really simple iteration benchmark. It reproduces your results; iteration is indeed much slower than I expected: What's remarkable is that `BTreeIterator` is even slower than...