Skip to content

avoid mutation of AST objects - #910

Open
asottile wants to merge 1 commit into
mainfrom
avoid-mutation
Open

asottile wants to merge 1 commit into
mainfrom
avoid-mutation

Conversation

@asottile

@asottile asottile commented Oct 8, 2026

Copy link
Copy Markdown
Member

this appears to make pyflakes about 10-15% faster (!)

(the theory here being that modern python can generally use fast attribute lookup unless the object gets mutated)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant