Skip to content

Commit 82db560

Browse files
committed
---
yaml --- r: 11256 b: refs/heads/master c: 2600db4 h: refs/heads/master v: v3
1 parent 24a28aa commit 82db560

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 07ef368c60769be5290fa875ca020f3b2b07d02a
2+
refs/heads/master: 2600db4778dac418309320bed235a1025d84c630
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/libcore/str.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -880,6 +880,8 @@ fn rindex(ss: str, cc: char) -> option<uint> {
880880
//
881881
// Find the char position of the first instance of one string
882882
// within another, or return option::none
883+
//
884+
// FIXME: Boyer-Moore should be significantly faster
883885
fn find_bytes(haystack: str, needle: str) -> option<uint> {
884886
let haystack_len = len_bytes(haystack);
885887
let needle_len = len_bytes(needle);

0 commit comments

Comments
 (0)