News for hackers. Stuff that matters.
Re:Math.min(Math.max(num, min), max) by garmaine on Thursday August 20, 2020 @06:42PM (#24229870)
Dude, you are generating random numbers inside the loop. That is going to dominate runtime.
Re:Math.min(Math.max(num, min), max) by saagarjha on Thursday August 20, 2020 @06:56PM (#24229984)
I'm not testing runtime, though, I'm testing whether clamp gets optimized.