File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 07ef368c60769be5290fa875ca020f3b2b07d02a
2
+ refs/heads/master: 2600db4778dac418309320bed235a1025d84c630
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
Original file line number Diff line number Diff line change @@ -880,6 +880,8 @@ fn rindex(ss: str, cc: char) -> option<uint> {
880
880
//
881
881
// Find the char position of the first instance of one string
882
882
// within another, or return option::none
883
+ //
884
+ // FIXME: Boyer-Moore should be significantly faster
883
885
fn find_bytes ( haystack : str , needle : str ) -> option < uint > {
884
886
let haystack_len = len_bytes ( haystack) ;
885
887
let needle_len = len_bytes ( needle) ;
You can’t perform that action at this time.
0 commit comments