Here are the results comparing the two different approaches for the storage and retrieval of pre-calculated valuations.
Hashicorp memdb (Immutable radix tree): 307GB of total allocation, runtime 561 seconds.
Jaakko's memstore (Mutable radix tree): 14GB total allocation, runtime 1894 seconds.