IntersectMBO / IntersectMBO/plutus

Cheaper decoding of scripts

Open
#6,579 3 comments 0 reactions 0 assignees View on GitHub
Ledger Low priority Performance product status: triaged
Dominant language
Haskell
Stars
1.6k
Forks
508
Avg merge
3d 10h
Merged PRs (30d)
22

Description

@colll78 reports on Slack:

> People don’t really care much for compression onchain. The cost of bytes is so low that developers would much rather pay a large min Ada UTxO cost once and have deserialization be cheap, then to have min Ada small and deserialization cost high.

and on Twitter:

> A week or so ago I did some benchmarking of Flat against a Data.Binary serialization implementation I did, I can post the results where ever is useful.

@colll78 we're very much interested in those numbers! Though I'm really surprised to hear that `binary` might be better than `flat` given the [benchmarks](https://github.com/haskell-perf/serialization/blob/master/report.md) done in **haskell-perf** clearly pointing out that `flat` is several times more performant than `binary`. Maybe the issue is not with the format chosen but merely our own implementation? Or maybe it's the CBOR-encoded `Data` that is problematic rather than `flat`? Or the additional CBOR compression done on top of `flat`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.