Length of '\\n'.join(lines) without materializing the string.
(lines)
| 30 | |
| 31 | |
| 32 | def _joined_len(lines): |
| 33 | """Length of '\\n'.join(lines) without materializing the string.""" |
| 34 | if not lines: |
| 35 | return 0 |
| 36 | return sum(len(l) for l in lines) + len(lines) - 1 |
| 37 | |
| 38 | |
| 39 | def _is_pathological_diff_input(old_lines, new_lines): |
no outgoing calls
no test coverage detected