Regarding the proposed Binray Literals Deprecation

Ali Çehreli acehreli at yahoo.com
Tue Sep 13 20:41:53 UTC 2022


On 9/11/22 16:00, Steven Schveighoffer wrote:

 > I'm actually quite proud of the bit shifting code, I tried to find the
 > most efficient/clever mechanism to test for a straight given a bitfield.
 > Once I thought of it, it was simple to implement and understand:
 >
 > 
https://github.com/schveiguy/poker/blob/6f70cf7ca74e19e78b470f81640a3ce34a95d0d3/source/poker/hand.d#L245-L256

That's very clever! :)

Ali



More information about the Digitalmars-d mailing list