The size of file with assignment table is huge, writing/reading it (sys call) takes time.
At the same time assignment table contains many zero values and we can use it,
Solution
Simple way - just apply RLU coding on marshaling step (for array_list member of tuple) and decode on the serialization.
Initial research
For sha2_256 example reduce size from 1795162136 to 432555642, ant time 2.5 sec to 1 sec
Problem
The size of file with assignment table is huge, writing/reading it (sys call) takes time. At the same time assignment table contains many
zero
values and we can use it,Solution
Simple way - just apply RLU coding on marshaling step (for
array_list
member of tuple) and decode on the serialization.Initial research
For sha2_256 example reduce size from
1795162136
to432555642
, ant time2.5 sec
to1 sec
https://github.com/NilFoundation/zkLLVM/pull/521