BlogDocs

chore: replace usize::max_value() by usize::MAX(#558)

Merged
Merging
usize-max
into
main
-18%
IMPROVEMENTS
0
REGRESSIONS
6
UNTOUCHED
28
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Failing

corner_to_corner_bfsRegression
benches/algos.rs::benches::corner_to_corner_bfs::corner_to_corner_bfs
-15%
1.2 ms
1.4 ms
corner_to_corner_dijkstraRegression
benches/algos.rs::benches::corner_to_corner_dijkstra::corner_to_corner_dijkstra
-16%
1.5 ms
1.8 ms
no_path_astarRegression
benches/algos.rs::benches::no_path_astar::no_path_astar
-15%
1.5 ms
1.8 ms
no_path_bfsRegression
benches/algos.rs::benches::no_path_bfs::no_path_bfs
-15%
1 ms
1.2 ms
no_path_dijkstraRegression
benches/algos.rs::benches::no_path_dijkstra::no_path_dijkstra
-18%
1.3 ms
1.6 ms
no_path_fringeRegression
benches/algos.rs::benches::no_path_fringe::no_path_fringe
-14%
1.6 ms
1.9 ms

Passing

fill-corner_to_corner_astar
benches/algos-fill.rs::benches::corner_to_corner_astar::fill-corner_to_corner_astar
0%
125.9 µs
126 µs
fill-corner_to_corner_bfs
benches/algos-fill.rs::benches::corner_to_corner_bfs::fill-corner_to_corner_bfs
0%
1.3 ms
1.3 ms
fill-corner_to_corner_dfs
benches/algos-fill.rs::benches::corner_to_corner_dfs::fill-corner_to_corner_dfs
0%
4.5 ms
4.5 ms
fill-corner_to_corner_dijkstra
benches/algos-fill.rs::benches::corner_to_corner_dijkstra::fill-corner_to_corner_dijkstra
-1%
1.4 ms
1.4 ms
fill-corner_to_corner_fringe
benches/algos-fill.rs::benches::corner_to_corner_fringe::fill-corner_to_corner_fringe
0%
105.8 µs
105.9 µs
fill-corner_to_corner_idastar
benches/algos-fill.rs::benches::corner_to_corner_idastar::fill-corner_to_corner_idastar
+5%
160.1 µs
151.8 µs
fill-corner_to_corner_iddfs
benches/algos-fill.rs::benches::corner_to_corner_iddfs::fill-corner_to_corner_iddfs
0%
3.9 ms
3.9 ms
fill-no_path_astar
benches/algos-fill.rs::benches::no_path_astar::fill-no_path_astar
0%
1.6 ms
1.6 ms
fill-no_path_bfs
benches/algos-fill.rs::benches::no_path_bfs::fill-no_path_bfs
0%
1.4 ms
1.4 ms
fill-no_path_dijkstra
benches/algos-fill.rs::benches::no_path_dijkstra::fill-no_path_dijkstra
-1%
1.2 ms
1.2 ms
fill-no_path_fringe
benches/algos-fill.rs::benches::no_path_fringe::fill-no_path_fringe
-1%
1.3 ms
1.3 ms
separate_components
benches/algos.rs::benches::bench_separate_components::separate_components
-1%
2.1 ms
2.1 ms
corner_to_corner_astar
benches/algos.rs::benches::corner_to_corner_astar::corner_to_corner_astar
-7%
84.6 µs
90.7 µs
corner_to_corner_dfs
benches/algos.rs::benches::corner_to_corner_dfs::corner_to_corner_dfs
0%
31.4 ms
31.4 ms
corner_to_corner_fringe
benches/algos.rs::benches::corner_to_corner_fringe::corner_to_corner_fringe
-6%
91.5 µs
97.7 µs
corner_to_corner_idastar
benches/algos.rs::benches::corner_to_corner_idastar::corner_to_corner_idastar
0%
127 µs
127.1 µs
corner_to_corner_iddfs
benches/algos.rs::benches::corner_to_corner_iddfs::corner_to_corner_iddfs
+1%
1.4 ms
1.4 ms
wikipedia_example_dense
benches/edmondskarp.rs::benches::wikipedia_example_dense::wikipedia_example_dense
-2%
30.2 µs
31 µs
wikipedia_example_sparse
benches/edmondskarp.rs::benches::wikipedia_example_sparse::wikipedia_example_sparse
0%
45.8 µs
45.8 µs
Compare kuhn_munkres with different input sizes[128]
benches/kuhn_munkres.rs::benches::compare_size::Compare kuhn_munkres with different input sizes[128]
-3%
2.6 ms
2.7 ms
Compare kuhn_munkres with different input sizes[256]
benches/kuhn_munkres.rs::benches::compare_size::Compare kuhn_munkres with different input sizes[256]
-3%
16.7 ms
17.2 ms
Compare kuhn_munkres with different input sizes[32]
benches/kuhn_munkres.rs::benches::compare_size::Compare kuhn_munkres with different input sizes[32]
-5%
84.4 µs
89 µs
Compare kuhn_munkres with different input sizes[512]
benches/kuhn_munkres.rs::benches::compare_size::Compare kuhn_munkres with different input sizes[512]
-2%
500.6 ms
508.3 ms
Compare kuhn_munkres with different input sizes[64]
benches/kuhn_munkres.rs::benches::compare_size::Compare kuhn_munkres with different input sizes[64]
-5%
420.3 µs
440.7 µs
transpose
benches/matrices.rs::benches::transpose_benchmark::transpose
0%
42.2 µs
42.2 µs
transpose_non_square
benches/matrices.rs::benches::transpose_non_square_benchmark::transpose_non_square
+1%
159.8 µs
157.6 µs
arena
benches/movingai.rs::benches::arena::arena
-6%
42 ms
44.7 ms
separate_components
benches/separate_components.rs::benches::bench_separate_components::separate_components
-2%
7.6 ms
7.7 ms

Commits

Click on a commit to change the comparison range
base
main
b695b57
-18%
chore: replace usize::max_value() by usize::MAX
838504f
3 months ago by samueltardieu
ResourcesHomePricingDocsBlogGitHub
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.