Skip to content

Conversation

@MakarDev
Copy link

Problem description

std calls in searchString are costly, slowing down search significantly

Implementation description

Replacing std calls with branchless lookups allows 2x speedup for search

Screenshots

Here is the full demo with benchmarks: https://x.com/MakarKuznietsov/status/1972044060530823381

Optimized by functio.ai

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant