Yes, my interest was sparked by this post from another thread:
And looking at nextUp's implementation as well as eg that of the new hashing, I sometimes need to write code at that level, so I thought it would be good to know more about @effects
as part of my ongoing quest to get better at writing performance critical code (both in general and in Swift).
Does this mean that a generic function can never be marked @effects(readnone)
, or that it works only together with some other attribute(s) like @_specialize
or @_transparent
?