twoway icon indicating copy to clipboard operation
twoway copied to clipboard

Twoway / Fast substring search for strings and byte strings (Rust) / Also assorted benchmarks and string search snippets

Results 4 twoway issues
Sort by recently updated
recently updated
newest added

I recently needed to search for any occurrence of a sequence of bytes in a large file, so I built an iterator for matches in a file. Would you consider...

I'm creating a type that implements `Searcher` for an uncommon string encoding and I would like to use this crate to do so. Unfortunately, the current API doesn't expose enough...

The `use_std` feature is deprecated in favor of `std`: https://github.com/BurntSushi/rust-memchr/commit/8efd67fcc412445d6978cf35761ab81ed2d6e6fe#diff-80398c5faae3c069e4e6aa2ed11b28c0

Handles #10 as the minimum required to use `TwoWaySearcher` in a `Searcher` impl. There is some ability for API misuse here since `new` takes a needle, but doesn't save it...