# Make lastIndexOf use the same cut-off between BMH as indexOf · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/c0fa5963ee692c9d4c46834978c274559d727ff5)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: c0fa5963ee692c9d4c46834978c274559d727ff5

Requested commit: c0fa5963ee692c9d4c46834978c274559d727ff5

Commit: c0fa5963ee692c9d4c46834978c274559d727ff5

Tree: 8a7d16a162d4764adf8a0a83ff2482922addb529

Author: dec05eba

Committer: Andrew Kelley

## Message

```
Make lastIndexOf use the same cut-off between BMH as indexOf

Also update test to use a string longer than 52 characters
to test both BMH and linear path.

```

## Parents

- [72064eba233fd3fd8e3dc0ab6f5fc73c6bdf1922](https://git.cafe/gitcafe/zig/commit/72064eba233fd3fd8e3dc0ab6f5fc73c6bdf1922?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/c0fa5963ee692c9d4c46834978c274559d727ff5?format=markdown)
