# fix Boyer-Moore-Horspool algorithm in indexOfPos and lastIndexOf when element type is larger than a byte · gitcafe/zig

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

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

Visibility: public

Requested revision: d7bf4f80703d16a6485f605c89d24acf427b4680

Requested commit: d7bf4f80703d16a6485f605c89d24acf427b4680

Commit: d7bf4f80703d16a6485f605c89d24acf427b4680

Tree: 593497e2164ab048826f32f367b600102ac4a19d

Author: Matthew Borkowski

Committer: Andrew Kelley

## Message

```
fix Boyer-Moore-Horspool algorithm in indexOfPos and lastIndexOf when element type is larger than a byte

```

## Parents

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

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