##// END OF EJS Templates
revlog: extract first byte of revlog with a slice so it's portable
Augie Fackler -
r31356:ef688817 default
parent child Browse files
Show More
@@ -1521,7 +1521,7 b' class revlog(object):'
1521 #
1521 #
1522 # According to `hg perfrevlogchunks`, this is ~0.5% faster for zlib
1522 # According to `hg perfrevlogchunks`, this is ~0.5% faster for zlib
1523 # compressed chunks. And this matters for changelog and manifest reads.
1523 # compressed chunks. And this matters for changelog and manifest reads.
1524 t = data[0]
1524 t = data[0:1]
1525
1525
1526 if t == 'x':
1526 if t == 'x':
1527 try:
1527 try:
General Comments 0
You need to be logged in to leave comments. Login now