IntersectMBO/plutus

Experiment: replace builtin type Strict Bytestring -> ShortByteString

Open

#6,052 创建于 2024年5月17日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Haskell (511 fork)batch import
Good first issueInternaloptimizationstatus: triaged

仓库指标

Star
 (1,637 star)
PR 合并指标
 (平均合并 15天 11小时) (30 天内合并 13 个 PR)

描述

As plutus user I want to have fast plutus execution. Perhaps changing strict bytestrings to short bytestrings may improve the performance. This change should not have any observable difference from existing plutus scripts, so it should be (in principle) backwards compatible with older plutus versions.

Acceptance Criteria:

change universe type to be shortbytestring

change all builtins denotations to operate on bytestrings directly.

(optional) add a benchmark that runs exclusively many bytestring operations

run plutus-benchmarks again and compare to see if it is indeed faster

(optional) replay the whole chain to see if anything changed in cek execution?

贡献者指南