Skip to main content
5 events
when toggle format what by license comment
Apr 24, 2019 at 14:03 comment added Soapy @KevinCruijssen Can't use Integer but I can cast the value to BigInt and use bitCount on that. Thanks!
Apr 24, 2019 at 14:02 history edited Soapy CC BY-SA 4.0
Use BigInt for bitCount
Apr 24, 2019 at 13:10 review Low quality posts
Apr 24, 2019 at 13:17
Apr 24, 2019 at 13:04 comment added Kevin Cruijssen I'm not that familiar with Scala, but are static calls possible like in Java? And if yes, can bytes be saved by changing (y:Int)=> to (y:Integer)=> and Integer.bitCount(x) to y.bitCount(x)?
Apr 24, 2019 at 12:52 history answered Soapy CC BY-SA 4.0