[swift-evolution] protocol-oriented integers (take 2)
xiaodi.wu at gmail.com
Fri Jan 13 16:14:13 CST 2017
[Resending to list with original message removed for length.]
This is fantastic. Glad to see it take shape. Very neat and insightful to
have trailingZeros on BinaryInteger but leadingZeros on FixedWidthInteger.
A couple of questions on smart shifts: What is the performance penalty as
compared to the existing operators? Beyond performance, what are the
implications for migrating existing bit twiddling algorithms written in
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution