News for hackers. Stuff that matters.
Re:Galactic Algorithm by angel_j on Saturday October 05, 2019 @11:10AM (#21165937)
If all that is required is a super large constant (as in some cases), why not assume the large constant, do the calculation, then factor out the large constant?
Re:Galactic Algorithm by nabdab on Saturday October 05, 2019 @03:52PM (#21167539)
Because the “faster” algorithm is faster than the “slow” algorithm in the range where this constant is added... but not faster than just applying the “slow” algorithm directly. So the only thing you would achieve is to slow down the calculation overall.