Right now, the project uses a lot of individual files rather than module folders. This promotes bloated files. I would propose an arbitrary file-splitting size of 1000 lines or 8 top-level blocks.
WIP Plan
/actor/mod.rs - Actor, ActorBuilder/actor/aid.rs - Aid/scheduling/mod.rs - AxiomReactor, AxiomExecutor/system/mod.rs - ActorSystem, ActorSystemConfig/system/wire.rs - Everything related to wiring two systems together
/system/actors/ - System-required and/or internal actors.
/clusters/ - Cluster implementations named by protocol
/message.rs - This can stay as is because growth potential is negligible
Note that singular names are defaulted to unless used for a scope that is a collection of implementations.
Right now, the project uses a lot of individual files rather than module folders. This promotes bloated files. I would propose an arbitrary file-splitting size of 1000 lines or 8 top-level blocks.
WIP Plan
/actor/mod.rs
-Actor
,ActorBuilder
/actor/aid.rs
-Aid
/scheduling/mod.rs
-AxiomReactor
,AxiomExecutor
/system/mod.rs
-ActorSystem
,ActorSystemConfig
/system/wire.rs
- Everything related to wiring two systems together/system/actors/
- System-required and/or internal actors./clusters/
- Cluster implementations named by protocol/message.rs
- This can stay as is because growth potential is negligibleNote that singular names are defaulted to unless used for a scope that is a collection of implementations.