Skip to content

gh-126835: Disable tuple folding in the AST optimizer - #128802

Closed
tomasr8 wants to merge 23 commits into
python:mainfrom
tomasr8:ast-tuple-folding
Closed

tomasr8 wants to merge 23 commits into
python:mainfrom
tomasr8:ast-tuple-folding

Conversation

@tomasr8

@tomasr8 tomasr8 commented Jan 13, 2025 •

Copy link
Copy Markdown
Member

This disables tuple-folding in the AST optimizer which allows the flowgraph to optimize them instead.
Related comment: #126830 (comment)

I've done some local benchmarking with pyperf which showed some speedup for unpack_sequence but it'd be nice to have proper benchmarks for this :)

cc @Eclips4

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants