jetscii
jetscii copied to clipboard
A tiny library to efficiently search strings for sets of ASCII characters and byte slices for sets of bytes.
Misc Updates
* Update to rust edition 2018, remove unneeded `extern crate`s * Remove trait bounds from types. This is unlikely to actually impact anyone, but could reduce having to propagate bounds...
The documentation shares some benchmarks, which is great. But for transparency, and also to make it easier for users to run said benchmarks on their machine and determine what works...
This problem first got reported here: https://github.com/PoiScript/docx-rs/issues/51 A StackOverflow post made this problem resurface: https://stackoverflow.com/questions/73722833/cannot-perform-const-operation-using-t It seems that on some machines, version `0.4.1` through `0.4.4` fail to compile. # How...
This PR is a suggestion. I have done a minimal implementation, just so we have something to discuss. The problem I was facing was that I couldn't use a borrowed...
I'm sorry this is such a half-baked idea, but in comrak there is a [search](https://github.com/kivikakk/comrak/blob/master/src/parser/inlines.rs#L104) of many sigils that seems perfect for jetscii; and in a comrak-downstream project I'm working...
I've subjected jetscii 0.3.1 to a benchmark suite of just a few pathological examples for substring search. **_jetscii benches very well**_, _there's just evidence of pathlogical cases_ Result (may be...
As I understand it, the public API currently requires that haystacks be `&str` and that all needles be ASCII. Might you consider exposing a way to run a search on...
I think we should use cpuid to check for presence of sse4_2
hey - looks like this was at least planned at some point, since `/* const */` keyword was commented out in a few places. are you interested in merging something...