mento-protocol / simulation

Apache License 2.0
1 stars 1 forks source link

Make strategies stateless #191

Open bowd opened 2 years ago

bowd commented 2 years ago

Currently, Strategies are implemented as stateful objects, one per Agent, but they don't have to be as each time calculations are setup from scratch. We can reduce memory bloat by moving them to stateless objects.