Skip to content

Conversation

IvanovVj
Copy link

An optimized version of SIMD is used in file cpython/Python/optimizer.c for function count_exits().
Using Advanced Vector Extensions 2 makes the search faster.

An optimized version of SIMD is used in file cpython/Python/optimizer.c for function count_exits().
@IvanovVj IvanovVj requested a review from markshannon as a code owner March 17, 2025 21:40
@ghost
Copy link

ghost commented Mar 17, 2025

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-app
Copy link

bedevere-app bot commented Mar 17, 2025

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@picnixz
Copy link
Member

picnixz commented Mar 17, 2025

AVX-2 is not always supported and HACL has nothing to do with the optimizer. Please, first present evidence that this indeed optimizes the search and by how much. In addition, please read https://devguide.python.org/getting-started/pull-request-lifecycle/ before opening a PR (e.g., this needs a NEWS entry, an issue, and a wider discussion).

I'm going to close this until proper discussion has been achieved.

@picnixz picnixz closed this Mar 17, 2025
@IvanovVj IvanovVj deleted the patch-1 branch March 17, 2025 23:13
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.

2 participants