News for hackers. Stuff that matters.
Re:Making a Go program 70% faster with a one character change by xnorswap on Monday November 14, 2022 @12:22PM (#33597479)
You had it right the first time, 1.7x speed is 70% faster.

If something previously took 4s now takes 2s then it's 100% faster.

Think of driving 10miles. If you drive at 20mph then it takes 30 minutes. If you drive twice as fast, 40mph, it takes 15 minutes.

40mph is 100% faster than 20mph.

Half the time is twice as fast!

Re:Making a Go program 70% faster with a one character change by wizofaus on Monday November 14, 2022 @12:31PM (#33597645)
Glad it wasn't just me thinking this!