Skip to content

Conversation

@BTV25
Copy link
Member

@BTV25 BTV25 commented Aug 19, 2025

Multithreaded several spots. Also, cut allocations down significantly.

The main problem is still the induced_velocity function, but it is mostly the fact that it is called many times, so there is not much to be done other than modifying the algorithm somehow.

@BTV25 BTV25 requested a review from rymanderson August 19, 2025 18:53
@BTV25
Copy link
Member Author

BTV25 commented Aug 19, 2025

I ended up with a 2.7x speedup with 6 threads. Not the best, but worth something. I mainly want to add this in because of the reduction in allocations

@BTV25 BTV25 merged commit e230b32 into master Sep 2, 2025
3 checks passed
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.

2 participants