Skip to content

chore(deps): update rust crate movingai to v2.2.0#764

Merged
renovate[bot] merged 1 commit intomainfrom
renovate/movingai-2.x-lockfile
Mar 12, 2026
Merged

chore(deps): update rust crate movingai to v2.2.0#764
renovate[bot] merged 1 commit intomainfrom
renovate/movingai-2.x-lockfile

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 12, 2026

This PR contains the following updates:

Package Type Update Change
movingai dev-dependencies minor 2.1.02.2.0

Release Notes

THeK3nger/movingai-rust (movingai)

v2.2.0

Compare Source

Added
  • Validation for missing/empty height and width: The parser now returns an error when these required header fields are absent or empty.
Improvements
  • Stack-allocated neighbors (ArrayVec): Replaced Vec<Coords2D> with a stack-allocated ArrayVec in the neighbors() function. This eliminates a heap allocation at every cell expansion, resulting in a 38% improvement in map traversal speed.
  • Enum for map_type: Replaced String comparisons with an enum for the map_type field, avoiding heap allocations in inner loops.
  • Avoid collect() in header parsing and refactored parse_map header parsing to skip unnecessary intermediate collection, saving memory during map loading.
Bug Fixes
  • Fixed a potential panic when subtracting unsigned indices, along with additional edge-case tests.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge March 12, 2026 14:36
@github-actions
Copy link

📊 iai-callgrind Benchmark Results

➡️ 20 Unchanged (within ±0.1%)

Click to expand
Benchmark Instructions
iai_algos::corner_to_corner_astar 150,136
iai_algos::corner_to_corner_bfs 2,947,648
iai_algos::corner_to_corner_bfs_bidirectional 3,881,580
iai_algos::corner_to_corner_dfs 3,592,021
iai_algos::corner_to_corner_dijkstra 3,734,617
iai_algos::corner_to_corner_fringe 216,701
iai_algos::corner_to_corner_idastar 194,020
iai_algos::corner_to_corner_iddfs 3,718,131
iai_algos::no_path_astar 3,348,856
iai_algos::no_path_bfs 2,756,526
iai_algos::no_path_bfs_bidirectional 3,383,731
iai_algos::no_path_dfs 3,629,686
iai_algos::no_path_dijkstra 3,691,818
iai_algos::no_path_fringe 4,417,030
iai_edmondskarp::wikipedia_example_dense 38,324
iai_edmondskarp::wikipedia_example_sparse 65,784
iai_kuhn_munkres::kuhn_munkres_size_128 4,931,229
iai_kuhn_munkres::kuhn_munkres_size_32 296,982
iai_kuhn_munkres::kuhn_munkres_size_64 1,414,622
iai_separate_components::bench_separate_components 16,551,052

✅ All benchmarks unchanged


iai-callgrind measures instructions executed, which is deterministic and not affected by system load.

@renovate renovate bot added this pull request to the merge queue Mar 12, 2026
Merged via the queue into main with commit 791fc9c Mar 12, 2026
12 checks passed
@renovate renovate bot deleted the renovate/movingai-2.x-lockfile branch March 12, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants