mirror of
https://github.com/openharmony/third_party_rust_aho-corasick.git
synced 2026-07-01 06:48:28 -04:00
ffc2858726
These options aren't really carrying their weight. In a future release, aho-corasick will make both options enabled by default all the time with the impossibility of disabling them. The main reason for this is that these options require a quadrupling in the amount of code in this crate. While it's possible to see a performance hit when using byte classes, it should generally be very small. The improvement, if one exists, just doesn't see worth it. Please see https://github.com/BurntSushi/aho-corasick/issues/57 for more discussion. This is meant to mirror a similar decision occurring in regex-automata: https://github.com/BurntSushi/regex-automata/issues/7.