Klazkin / player-zero

1 stars 0 forks source link

Accelerating data generation in Godot with Multi-threading #64

Closed Klazkin closed 4 months ago

Klazkin commented 4 months ago

Due to the Surface class is structured, it should be possible to run multiple simulations in parallel fairly easily. Extend #57 generator to generate more data in parallel on multiple threads.

This can be accomplished both in GDExtension using C++ and using the Threading API in Godot. The latter was chosen due to it being more straightforward to implement.

The goal

Parallelizing of the script from #57.

Time tracking

Time Estimate: 1 hours 30 minutes Time spent: 1 hours 20 minutes

Resources

Klazkin commented 4 months ago

Completed as part of https://github.com/Klazkin/gaf6/commit/9a8377d765d7d1d3768fb692344c0b802adf4a44