I'm struggling with a Swift 6 problem. In my NES emulator, I use a type wrapping `UnsafeMutableBufferPointer<UInt8>` to represent RAM. To avoid leaks, I need to call `deallocate()` on the buffer in my type's `reinit`. Everything is on the Main Actor. In Swift 6...this can't be done without making the wrapper `nonisolated` and manually synchronizing access, I think? Using `Mutex` is too slow, unfortunately.
The code: https://gist.github.com/sadlerjw/8de9684831ada5b06afcae7c663051d5
I'd appreciate any help...maybe
@mattiemMatt Massicotte? Thanks!
