Skip to content

internal: fix cfg_select polyfill short circuit#6140

Open
davidhewitt wants to merge 1 commit into
PyO3:mainfrom
davidhewitt:cfg-select-short-circuit
Open

internal: fix cfg_select polyfill short circuit#6140
davidhewitt wants to merge 1 commit into
PyO3:mainfrom
davidhewitt:cfg-select-short-circuit

Conversation

@davidhewitt

Copy link
Copy Markdown
Member

Closes #6138

@codspeed-hq

codspeed-hq Bot commented Jun 17, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 12.96%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 1 improved benchmark
✅ 125 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
critical_section_creation 762.5 ns 675 ns +12.96%

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing davidhewitt:cfg-select-short-circuit (4e62dec) with main (745b074)

Open in CodSpeed

@bschoenmaeckers bschoenmaeckers left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tnx!

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.

polyfill for cfg_select does not emit the same code

3 participants