use faster memchr