News for hackers. Stuff that matters.
Re:My Favorite Programming Problem to Teach: Digit Length by saagarjha on Monday November 11, 2019 @12:02AM (#21502274)
> is far more inefficient

Is it?

Re:My Favorite Programming Problem to Teach: Digit Length by bjoli on Monday November 11, 2019 @01:33AM (#21502682)
Probably not, at least not compared to the naive solution using Euclidean division.

for larger numbers it is probably faster.