On Thu, 26 Jan 2012, Joakim Tjernlund wrote: > hmm, that memcpy is costly. Just swap tmp_buf and best_buf instead? Thanks, that's a good idea. Updated. - Paul