It needs to be findnext(isequal(my_byte), my_arr, my_ind). If you use an anoymous function, it will not dispatch to memchr.
2 Likes
It needs to be findnext(isequal(my_byte), my_arr, my_ind). If you use an anoymous function, it will not dispatch to memchr.