simd/memchr_digit_other.go
raw| 1 | // Adapted from the coregex project, https://github.com/coregx/coregex |
| 2 | // (package simd), Copyright (c) 2025 Andrey Kolkov and contributors, |
| 3 | // MIT License. See the LICENSE file in this directory for the full text. |
| 4 | |
| 5 | //go:build !amd64 |
| 6 | |
| 7 | package simd |
| 8 | |
| 9 | // memchrDigitImpl uses the portable implementation off amd64. |
| 10 | func memchrDigitImpl(haystack []byte) int { |
| 11 | return memchrDigitGeneric(haystack) |
| 12 | } |