This is a micro optimization prepared for following changes where
len(self._program) is used in a loop.
Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHG32b1967b8734: linelog: extract `len(self._program)` to a local function
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.