quasilyte opened this issue 8 years ago · 1 comments
Underlying struct representation implies different costs for particular operations. To achieve more precise sexp.Form.Cost results, this information should be used.
sexp.Form.Cost
As an example, there is structIndexCost function that uses vmm.StructReprOf.
structIndexCost
vmm.StructReprOf