Skip to content

Conversation

@PTFOPlayer
Copy link
Contributor

Some instances of collect were unnecessary or redundant if the edges argument in add_obstacle is changed from Vec to impl IntoIterator<Item = Vec2>, as LineString can be directly constructed from an iterator.

On my machine (CPU: i5-12500H, 16 GB LPDDR5X 4800 MHz memory), this results in a speedup of 0.01s–0.02s when running tests

@PTFOPlayer
Copy link
Contributor Author

When running tests-aurora speedup is ~15s (232s -> 217s)

@mockersf
Copy link
Member

mockersf commented Jan 5, 2025

thanks!

@mockersf mockersf merged commit a9fa350 into vleue:main Jan 5, 2025
3 of 5 checks passed
@github-actions github-actions bot mentioned this pull request Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants