-
-
Notifications
You must be signed in to change notification settings - Fork 131
Open
Labels
Description
I stumbled upon this note:
// It's tempting to use the [memchr crate] to optimize this. However its
// API requires a Rust slice, which requires that all `len` bytes of the
// buffer be accessible, while the C `memchr` API guarantees that it stops
// accessing memory at the first byte that matches.probably if memchr_raw is exposed it could be used by libc reimplementations like c-scape.
Reactions are currently unavailable