Skip to content
Commit d0370d99 authored by Noah Goldstein's avatar Noah Goldstein
Browse files

Benchtests: Improve memrchr benchmarks



Add a second iteration for memrchr to set `pos` starting from the end
of the buffer.

Previously `pos` was only set relative to the beginning of the
buffer. This isn't really useful for memrchr because the beginning
of the search space is (buf + len).
Reviewed-by: default avatarH.J. Lu <hjl.tools@gmail.com>
parent dd5c483b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment