IntersectMBO / plutus

The Plutus language implementation and tools
Apache License 2.0
1.57k stars 480 forks source link

Compact / shrink down the flat size of uplc #6051

Open bezirg opened 6 months ago

bezirg commented 6 months ago

Taking inspiration from https://github.com/cardano-foundation/CIPs/pull/314 it is worthwile to investigate how much we could further compact the UPLC’s flat format. The size of plutus scripts correlates with the TPS performance of the chain.

This spike should perhaps investigate if it is worthwhile to not be future-proof in the flat format, by making the format more tight and not leaving out space (bits) for extensibility.

Acceptance Criteria:

The spike should show how much percentage we could shrink the plutus-benchmark

bezirg commented 6 months ago

kenneth wrote:

See also

CIP-0041? | UPLC Serialization Optimizations by HarmonicPool · Pull Request #314 · cardano-foundation/CIPs