Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cheaper decoding of scripts #6579

Open
effectfully opened this issue Oct 16, 2024 · 0 comments
Open

Cheaper decoding of scripts #6579

effectfully opened this issue Oct 16, 2024 · 0 comments
Labels

Comments

@effectfully
Copy link
Contributor

effectfully commented Oct 16, 2024

@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 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant