Mercurial > hg
diff .hgsigs @ 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 | 74525c3e9476 |
children | 8b2892d5a9f2 |