mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-08-06 05:26:58 +00:00
looks like 16 is better for vmx_memchr
This commit is contained in:
@@ -17,7 +17,7 @@ https://github.com/ridiculousfish/HexFiend/blob/4d5bcee5715f5f288649f7471d1da5bd
|
||||
// It is possible for altivecLength to be < 0 for short strings.
|
||||
int altivecLength = length - prefixLength - suffixLength;
|
||||
|
||||
if (altivecLength < 32) { // not worth the setup
|
||||
if (altivecLength < 16) {
|
||||
while (length--) {
|
||||
if (*haystack == needle) return (void *)haystack;
|
||||
haystack++;
|
||||
|
Reference in New Issue
Block a user