comparison mercurial/exewrapper.c @ 41305:ff927ecb12f9 stable

ui: optimize buffered write with no label This was spotted while making fastannotate faster again after ditching its own formatter. Since I'm going to inline _write() into ui.write(), I decided to include this patch in this series. Here, the cost of '(self.label(a, label) for a in args)' was significant in hot loops.
author Yuya Nishihara <yuya@tcha.org>
date Wed, 28 Nov 2018 22:36:24 +0900
parents ef7119cd4965
children 825d5a5907b4
comparison
equal deleted inserted replaced
41304:76873548b051 41305:ff927ecb12f9