Search unpadded strings in Range benchmarks
Summary: [Folly] Search unpadded strings in `Range` benchmarks. `vstr` has padding to adjust alignment. `vstrp` is a view into `vstr` that skips the padding, so that searches start out unaligned. Before this diff, haystack is 8-byte aligned: `uintptr_t(haystack.begin()) % 8 == 0`. After this diff, it is not. Reviewed By: @@nbronson Differential Revision: D2468934
Showing
Please register or sign in to comment