quasilyte/goism

Use `vmm.StructReprOf` inside struct related cost approximations

quasilyte opened this issue · 1 comments

Underlying struct representation implies different costs for particular operations.
To achieve more precise sexp.Form.Cost results, this information should be used.

As an example, there is structIndexCost function that uses vmm.StructReprOf.