aboutsummaryrefslogtreecommitdiffstats
path: root/migrations/2021-03-20-171007_create_users
diff options
context:
space:
mode:
authorDaniPopes <57450786+DaniPopes@users.noreply.github.com>2025-02-19 06:07:30 +0100
committerGitHub <noreply@github.com>2025-02-18 21:07:30 -0800
commit17223da04892aaf80a6372e8825deb952e4e7f0b (patch)
tree8296cc6e544132cce23eeda87bd89d538fd7e017 /migrations/2021-03-20-171007_create_users
parentchore(deps): bump lukemathwalker/cargo-chef (#2571) (diff)
downloadatuin-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 'migrations/2021-03-20-171007_create_users')
0 files changed, 0 insertions, 0 deletions