Would a search directly calling memchr have disadvantages?

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