IntersectMBO/plutus

Experiment: replace builtin type Strict Bytestring -> ShortByteString

Open

#6,052 opened on May 17, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Haskell (1,637 stars) (511 forks)batch import
Good first issueInternaloptimizationstatus: triaged

Description

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?

Contributor guide

Experiment: replace builtin type Strict Bytestring -> ShortByteString · IntersectMBO/plutus#6052 | Good First Issue