SnowCheetos / AutoMoonBot

Algorithmic trading using heterogeneous graph neural network and reinforcement learning, pre-alpha
MIT License
21 stars 5 forks source link

admit default by allocating heap for now #73

Closed SnowCheetos closed 2 months ago

SnowCheetos commented 2 months ago

Previously, much effort was spent in avoiding heap allocation, it would have required me to define every single possible node and edge type beforehand, which was extremely time consuming, blocking any future progress. Admitted defeat by using Box<T> for heap allocation, might make it slightly less efficient but allowing me to actually proceed forward in implementing other functionalities.