Mercurial > hg
comparison .clang-format @ 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 | d0a3fa849cb8 |
children |
comparison
equal
deleted
inserted
replaced
41304:76873548b051 | 41305:ff927ecb12f9 |
---|