ascii/equal_fold_amd64.go
raw| 1 | // Code generated by command: go run equal_fold_asm.go -pkg ascii -out ../ascii/equal_fold_amd64.s -stubs ../ascii/equal_fold_amd64.go. DO NOT EDIT. |
| 2 | |
| 3 | //go:build !purego |
| 4 | |
| 5 | package ascii |
| 6 | |
| 7 | // EqualFoldString is a version of strings.EqualFold designed to work on ASCII |
| 8 | // input instead of UTF-8. |
| 9 | // |
| 10 | // When the program has guarantees that the input is composed of ASCII |
| 11 | // characters only, it allows for greater optimizations. |
| 12 | func EqualFoldString(a string, b string) bool |