Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Boyer-Moore algorithm #259

Merged
merged 2 commits into from
Jan 25, 2024

Conversation

Soptq
Copy link
Contributor

@Soptq Soptq commented Jan 24, 2024

This PR adds Boyer-Moore algorithm.

Pull Request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build-related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Issue Number: N/A

What is the new behavior?

  • searching pattern ByteArray in a text ByteArray using Boyer-Moore algorithm.
  • all tests are passed.

Does this introduce a breaking change?

  • Yes
  • No

Other information

@Soptq Soptq requested a review from 0xLucqs as a code owner January 24, 2024 15:17
src/searching/src/bm_search.cairo Outdated Show resolved Hide resolved
src/searching/src/bm_search.cairo Outdated Show resolved Hide resolved
@0xLucqs 0xLucqs merged commit 7dea99e into keep-starknet-strange:main Jan 25, 2024
3 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants