diff options
| author | Ulrik Sverdrup <root@localhost> | 2015-06-21 19:44:25 +0200 |
|---|---|---|
| committer | Ulrik Sverdrup <root@localhost> | 2015-06-21 19:58:56 +0200 |
| commit | 71006bd6545015d7ae8e4c18589812bc1f6373dd (patch) | |
| tree | 128b7b9370a47c64b91e61b870505f4442bb67af /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | a6dd2031a363d0b46caea06ef77209f678327719 (diff) | |
| download | rust-71006bd6545015d7ae8e4c18589812bc1f6373dd.tar.gz rust-71006bd6545015d7ae8e4c18589812bc1f6373dd.zip | |
StrSearcher: Use trait to specialize two way algorithm by case
Use a trait to be able to implement both the fast search that skips to each match, and the slower search that emits `Reject` intervals regularly. The latter is important for uses of `next_reject`.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
