Optimized memchr() Implementation For The Linux Kernel Up To ~4x Faster

A set of proposed patches promise to make the Linux kernel’s memchr() implementation faster for locating a character within a block of memory. In tests carried out by the developer, the new implementation can be nearly four times faster on large searches…

Source: Phoronix – Optimized memchr() Implementation For The Linux Kernel Up To ~4x Faster