store: add 'com0' and 'lpt0' doctest cases for _auxencode()
These are already covered by test-hybridencode.py, but they are so noteworthy
that I think they deserve being shown right in that doctest.
wireproto: fix check-code.py breakage introduced by
6d97dd630d79
record: fix display of non-ASCII names in chunk selection
b013baa3898e fixed display of non-ASCII names in file-selecting prompt, but
display in chunk selection remained broken. The reason is that using '%r' in
string formatting results in calling `repr` on file names, thus mangling
non-ASCII ones.
sshserver: avoid a multi-dot attribute lookup in a hot loop
This improves stream_out performance by about 3%.
store: reduce string concatenation when joining
This improves stream_out performance by a couple of percent.
scmutil: use the new faster path split
Combined with a few other patches in this series, this contributes
to improving stream_out performance by 10%.
util: implement a faster os.path.split for posix systems
This is not yet used.
scmutil: make join cheaper
Combined with a few followup patches, this contributes to improving
stream_out performance by 10%.
wireproto: don't format a debug string inside a hot loop
This improves stream_out performance by about 5%.
wireproto: bypass filechunkiter for small files when streaming
Merely creating and using a generator has a measurable impact,
particularly since the common case for stream_out is generators that
yield just once. Avoiding generators improves stream_out performance
by about 7%.