This repository contains an implementation of the Boyer-Moore string search algorithm in Rust. The algorithm performs an efficient search for a pattern within a given text.
The Boyer-Moore algorithm is an efficient string searching algorithm that skips sections of the text to be searched, resulting in a lower constant factor than many other string algorithms in practice. You can read more about it here
The algorithm is implemented in Rust, utilizing its systems programming capabilities and robust type system.
- Efficient string searching
- Implementation in safe Rust
- Unit tests for verifying functionality
Clone the repository and run the code with:
git clone https://github.com/igor-couto/rust-boyer-moore-string-search
cd rust-boyer-moore-string-search
cargo run
To run the unit tests:
cargo test
Pull requests are welcome! Just do it.
- Igor Couto - [email protected]