0xPolygonZero / plonky2

Apache License 2.0
745 stars 273 forks source link

Amortize serialization size bloat #1548

Open Nashtare opened 5 months ago

Nashtare commented 5 months ago

In a bunch of cases, we could reduce the serialization overhead by storing smaller primitive types than usize as the underlying values have to be small (~u8).

Additionally, there may be some improvement room for ProverCircuitData related serialization, as it was done fairly hastily.