diff options
| author | DaniPopes <57450786+DaniPopes@users.noreply.github.com> | 2025-02-19 06:07:30 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-18 21:07:30 -0800 |
| commit | 17223da04892aaf80a6372e8825deb952e4e7f0b (patch) | |
| tree | 8296cc6e544132cce23eeda87bd89d538fd7e017 /Cargo.toml | |
| parent | chore(deps): bump lukemathwalker/cargo-chef (#2571) (diff) | |
| download | atuin-17223da04892aaf80a6372e8825deb952e4e7f0b.zip | |
perf: cache `SECRET_PATTERNS`'s `RegexSet` (#2570)
Improves the performance of `History::should_save` by constructing the
`SECRET_PATTERNS` `RegexSet` only once with a `LazyLock`.
This speeds up `atuin history prune` by ~100x (~7s to ~70ms on my
machine) (lol).
Diffstat (limited to 'Cargo.toml')
0 files changed, 0 insertions, 0 deletions
