mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
obsolete: reuse _fm1metapair for computing _fm1metapairsize
It's evaluated at import time, so it seems silly to not reuse the constant name.
This commit is contained in:
parent
10f4bd6001
commit
02f4d7b6be
@ -314,7 +314,7 @@ _fm1parentnone = 3
|
||||
_fm1parentshift = 14
|
||||
_fm1parentmask = (_fm1parentnone << _fm1parentshift)
|
||||
_fm1metapair = 'BB'
|
||||
_fm1metapairsize = _calcsize('BB')
|
||||
_fm1metapairsize = _calcsize(_fm1metapair)
|
||||
|
||||
def _fm1purereadmarkers(data, off, stop):
|
||||
# make some global constants local for performance
|
||||
|
Loading…
Reference in New Issue
Block a user