[varLib.varStore] Revert micro-optimizations
Based on review.
This commit is contained in:
parent
bf402b9fde
commit
0a6b95af1e
@ -95,7 +95,6 @@ class OnlineVarStoreBuilder(object):
|
||||
return base, self.storeDeltas(deltas, round=noRound)
|
||||
|
||||
def storeDeltas(self, deltas, *, round=round):
|
||||
if round != noRound:
|
||||
deltas = [round(d) for d in deltas]
|
||||
if len(deltas) == len(self._supports) + 1:
|
||||
deltas = tuple(deltas[1:])
|
||||
@ -122,7 +121,6 @@ class OnlineVarStoreBuilder(object):
|
||||
|
||||
|
||||
def VarData_addItem(self, deltas, *, round=round):
|
||||
if round != noRound:
|
||||
deltas = [round(d) for d in deltas]
|
||||
|
||||
countUs = self.VarRegionCount
|
||||
|
Loading…
x
Reference in New Issue
Block a user