Avatar for the mozilla user
mozilla
sccache
BlogDocsChangelog

fix: replace panicking expect() with map_or() for edge-case file paths

#2679
Comparing
srpatcha:fix/lru-cache-path-panic
(
9ed2e8a
) with
main
(
d11e2e0
)
CodSpeed Performance Gauge
0%
Untouched
60
Skipped
4

Benchmarks

4 total
digest_with_delimiters
benches/sccache_bench.rs
Skipped
8.8 µs*
digest_incremental_updates
benches/sccache_bench.rs
Skipped
20.5 µs*
normalize_win_path_utf8
benches/sccache_bench.rs
Skipped
186 B*
normalize_win_path_utf8
benches/sccache_bench.rs
Skipped
3.4 µs*

Commits

Click on a commit to change the comparison range
Base
main
d11e2e0
+0.03%
fix: replace panicking expect() with map_or() for file_name() check
9ed2e8a
6 days ago
© 2026 CodSpeed Technology
Home Terms Privacy Docs