From: Mark Wooding Date: Wed, 12 Sep 2018 10:41:49 +0000 (+0100) Subject: mm.c (rate): Simplify the algorithm. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mm/commitdiff_plain/44e8ae5a663f4ece6982dce93b7f4018d71ef764?ds=inline;hp=44e8ae5a663f4ece6982dce93b7f4018d71ef764 mm.c (rate): Simplify the algorithm. Now we don't need to take a copy of the code histogram, and there's less conditional stuff to do in the loop. This gives an overall 25% performance improvement, as measured by running `time mm -a 4 8'. ---