BreakingBytes / simkit

Model Simulation Framework
http://breakingbytes.github.io/simkit/
BSD 3-Clause "New" or "Revised" License
27 stars 16 forks source link

allow calculations to be grouped into a super calculation #99

Open mikofski opened 7 years ago

mikofski commented 7 years ago

Thanks @anomam for this GREAT :tada: idea :bulb:

Similar to:

why

For repeat calculations, if there are several calculations that should be repeated then looping or even using map will take longer if done individually for each calculation than if the calculations can be grouped

EG: There might be 3 calculations that are done for all layouts and inverter blocks.

Looping 3 times will take longer than just looping once.

dag magic

Since repeat calculations are independent, then having a super calculator and an easy way to repeat them (ie a special map calculator) could be coordinated with the DAG, so that in the future, carousel knows or can distributed them to multiple machines or processes.

just like data