Open effectfully opened 2 months ago
restricting
ExBudgetMode
as it's the one that is used in production and having that code specialized may impact performance significantlyData.RandomAccessList.Class.indexOne
returns a Maybe
, a strict EvaluationResult
instead would be more efficient UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetMode
contains unnecessary packing and unpacking, for example 0# -> jump $j_sGXo r#_iGvO (I# r#_iGvO)
UntypedPlutusCore.Evaluation.Machine.Cek.Internal
for the Vector
-based Case
-expressions is unoptimized: it contains things like int2Word#
followed by a word2Int#
(i.e. a non-free no-op) and what looks like an unnecessary call to integerFromWord64#
Vector
in FrameCases
. Would it be more efficient to use Array
/SmallArray
/custom data/manual loop unrolling?
This issue is for dumping all the plans regarding optimization of the CEK machine in a largely unstructured way.