Skip to content
Unverified Commit f825e7ef authored by Jelle Zijlstra's avatar Jelle Zijlstra Committed by GitHub
Browse files

Remove slow assertion (#1592)

Partial fix for #1581

This assertion produces behavior quadratic in the number of leaves in a line, which is making Black extremely slow on files with very long expressions. On my benchmark file this change makes Black 10x faster.
parent b59a5246
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment