Avatar for the vleue user
vleue
polyanya
BlogDocsChangelog

fix: correct bounds check in path_with_height to prevent index out of…

#128Closed
Comparing
GHJ75:fix-path-with-height-oob
(
9e56e01
) with
main
(
49de93a
)
CodSpeed Performance Gauge
-11%
Regression
2
Untouched
39

Benchmarks

41 total
no path Vec2(0.0, 0.0)-Vec2(0.0, 0.0)
benches/no_path.rs::benches::no_path
CodSpeed Performance Gauge
-11%
3.2 µs3.5 µs
no path Vec2(0.0, 0.0)-Vec2(575.0, 410.0)
benches/no_path.rs::benches::no_path
CodSpeed Performance Gauge
-11%
3.2 µs3.5 µs
recast - enrich path with height
benches/recast.rs::benches::enrich_path_with_height
CodSpeed Performance Gauge
+2%
35.8 µs35.1 µs
merger arena
benches/merger.rs::benches::merger
CodSpeed Performance Gauge
+2%
367.6 µs360.4 µs
merger many overlapping
benches/merger.rs::benches::merger_many_overlapping
CodSpeed Performance Gauge
+2%
4.9 ms4.8 ms
get path Vec2(611.0, 658.0)
benches/path.rs::benches::get_path
CodSpeed Performance Gauge
+1%
7.2 ms7.1 ms
get path Vec2(827.0, 678.0)
benches/path.rs::benches::get_path
CodSpeed Performance Gauge
+1%
7.5 ms7.4 ms
get path Vec2(468.0, 584.0)
benches/path.rs::benches::get_path
CodSpeed Performance Gauge
+1%
5.2 ms5.1 ms
get path Vec2(356.0, 166.0)
benches/path.rs::benches::get_path
CodSpeed Performance Gauge
+1%
7 ms6.9 ms
get path Vec2(233.0, 323.0)
benches/path.rs::benches::get_path
CodSpeed Performance Gauge
+1%
7.1 ms7 ms
get path Vec2(993.0, 290.0)
benches/path.rs::benches::get_path
CodSpeed Performance Gauge
+1%
14.1 ms14 ms
get path Vec2(512.0, 170.0)
benches/path.rs::benches::get_path
CodSpeed Performance Gauge
+1%
6.5 ms6.5 ms
merger many overlapping (once)
benches/merger.rs::benches::merger_many_overlapping_once
CodSpeed Performance Gauge
+1%
1.9 ms1.9 ms
recast - find path with height
benches/recast.rs::benches::find_path_with_height
CodSpeed Performance Gauge
+1%
424.4 µs421.9 µs
recast - find path
benches/recast.rs::benches::find_path
CodSpeed Performance Gauge
+1%
398.4 µs396.1 µs
baking
benches/baking.rs::benches::baking
CodSpeed Performance Gauge
0%
34.8 ms34.7 ms
recast - prepare fullmesh
benches/recast.rs::benches::prepare_fullmesh
CodSpeed Performance Gauge
0%
50.2 ms50.2 ms
triangulation many overlapping
benches/triangulation.rs::benches::triangulation_many_overlapping
CodSpeed Performance Gauge
0%
37.5 ms37.5 ms
triangulation many overlapping (inflated)
benches/triangulation.rs::benches::triangulation_many_overlapping_inflated
CodSpeed Performance Gauge
0%
1.1 s1.1 s
triangulation many overlapping (simplified + inflated)
benches/triangulation.rs::benches::triangulation_many_overlapping_simplified_inflated
CodSpeed Performance Gauge
0%
1.1 s1.1 s
triangulation many overlapping (simplified)
benches/triangulation.rs::benches::triangulation_many_overlapping_simplified
CodSpeed Performance Gauge
0%
37.9 ms38 ms
triangulation square
benches/triangulation.rs::benches::triangulation_square
CodSpeed Performance Gauge
0%
138.8 µs139 µs
triangulation square overlapping
benches/triangulation.rs::benches::triangulation_square_overlapping
CodSpeed Performance Gauge
0%
203.4 µs204 µs
triangulation arena bulk add obstacles
benches/triangulation.rs::benches::triangulation_bulk
CodSpeed Performance Gauge
0%
615 µs616.7 µs
triangulation arena
benches/triangulation.rs::benches::triangulation
CodSpeed Performance Gauge
0%
613 µs615.1 µs

Commits

Click on a commit to change the comparison range
Base
main
49de93a
-10.86%
fix: correct bounds check in path_with_height to prevent index out of bounds
9e56e01
1 month ago
by GHJ75
© 2026 CodSpeed Technology
Home Terms Privacy Docs