about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorUlrik Sverdrup <root@localhost>2015-06-21 19:44:25 +0200
committerUlrik Sverdrup <root@localhost>2015-06-21 19:58:56 +0200
commit71006bd6545015d7ae8e4c18589812bc1f6373dd (patch)
tree128b7b9370a47c64b91e61b870505f4442bb67af /src/rustllvm/ExecutionEngineWrapper.cpp
parenta6dd2031a363d0b46caea06ef77209f678327719 (diff)
downloadrust-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