iroha icon indicating copy to clipboard operation
iroha copied to clipboard

Reduce memory footprint

Open appetrosyan opened this issue 4 years ago • 1 comments

The test introduced in #1784 demonstrated that creating a million accounts results in average memory usage of 5kiB per account. This is far in excess of what is acceptable for even modest performance requirements,

We should consider reducing the memory footprint significantly.

The proposed solution is to use Trait objects in lieu of statically-typed enum objects.

appetrosyan avatar Jan 10 '22 06:01 appetrosyan

This issue is especially relevant given https://github.com/hyperledger/iroha/issues/1777

e-ivkov avatar Jan 21 '22 12:01 e-ivkov