diff mercurial/archival.py @ 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 d9eda1c6dfca
children 3d9d5e612e67
line wrap: on
line diff