deeprobin / deeprobin/bruteforce-rs

Improve performance

Open
#1 23 comments 0 reactions 0 assignees View on GitHub
:zap: performance issue ❗ priority: 2 🔥 enhancement
Dominant language
Rust
Stars
13
Forks
7
PR merge metrics
No merged PRs in 30d

Description

The function `raw_next` builds the entire string from scratch every time it is called when it could be reusing a buffer and just changing the last character each time.

Maybe with `String.pop()` and `String.push(c)`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.