Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

std.mem: Don't use vectorized path for freestanding targets in indexOfSentinel() #23182

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

alexrp
Copy link
Member

@alexrp alexrp commented Mar 10, 2025

This removes the invalid page size assumptions made in std.mem.indexOfSentinel() for freestanding targets. This is what originally prompted the commits that I'm reverting, which were added in #22488 and #23043. See the discussion: #22488 (review)

See also #23184.

@alexrp alexrp marked this pull request as draft March 10, 2025 11:04
@alexrp alexrp marked this pull request as ready for review March 10, 2025 11:41
@alexrp alexrp requested a review from andrewrk March 10, 2025 11:41
@alexrp alexrp added this to the 0.14.1 milestone Mar 10, 2025
@alexrp alexrp changed the title std: Remove invalid page size assumptions std.mem: Don't use vectorized path for freestanding targets in indexOfSentinel()` Mar 10, 2025
@alexrp alexrp changed the title std.mem: Don't use vectorized path for freestanding targets in indexOfSentinel()` std.mem: Don't use vectorized path for freestanding targets in indexOfSentinel() Mar 10, 2025
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