ctietze, 1 month ago What do you think: Is this, bridged to Swift, zero-overhead when you use TokenType.init(rawValue:)?
What do you think:
Is this, bridged to Swift, zero-overhead when you use TokenType.init(rawValue:)?
mafe, 1 month ago @ctietze If I cannot keep that stuff up inside the Mental Model of my brain, why would I actually DO this? I'd ignore the overhead question as long ask nobody asks it and would leverage the answer to tooling instead of guessing. But I think it should be zero-overhead bridged to Swift using init(rawValue).
@ctietze If I cannot keep that stuff up inside the Mental Model of my brain, why would I actually DO this?
I'd ignore the overhead question as long ask nobody asks it and would leverage the answer to tooling instead of guessing.
But I think it should be zero-overhead bridged to Swift using init(rawValue).
ctietze, 1 month ago @mafe When I’m done with the current step I’m putting this in Compiler Explorer or just replace it with a Swift enum and hope for the best since I don’t need the ObjC part anymore anyway.
@mafe When I’m done with the current step I’m putting this in Compiler Explorer or just replace it with a Swift enum and hope for the best since I don’t need the ObjC part anymore anyway.
Add comment