Also fallback to naive implementation if haystack is small or if the needle is small or if sizeof type is not 1.