Re:Ask HN: Largest speedup you ever achieved by only changin...
by Leparamour on Monday March 22, 2021 @04:33AM
(#26538156)
You probably found a co-worker's underhanded speed-bump meant to be taken out before the next annual performance review.
The code was PHP. All API calls ended like this:
echo json_encode($data) . "\n";
Changed just one character, the period to a comma so the string wasn't duplicated before being output. Problem solved. Felt like a hero.