Skip to content

Conversation

@leezaj
Copy link
Contributor

@leezaj leezaj commented Dec 17, 2025

Right now validate_utf16le_as_ascii is not inside #if SIMDUTF_FEATURE_UTF16 && SIMDUTF_FEATURE_ASCII, even though validate_utf16be_as_ascii is. This change fixes that to make things more consistent.

@pauldreik pauldreik merged commit 662c7c0 into simdutf:master Dec 17, 2025
56 checks passed
@pauldreik
Copy link
Collaborator

Thanks!

@leezaj leezaj deleted the fix-endif-utf16-ascii branch December 17, 2025 14:57
@lemire
Copy link
Member

lemire commented Dec 17, 2025

We would need better tests.

@pauldreik
Copy link
Collaborator

We would need better tests.

Agree. There is an issue #855 for this.

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.

3 participants