This PR adds more accurate gassing for the operations of module load and dependency loads.
It also:
Fixes a longstanding inaccuracy of sizeOf
Removes generic SizeOf instances in favor of written ones. Our generic instances were a big culprit in bad estimation and making better ones without templateHaskell seems like a bigger pain. I would rather move to a templateHaskell solution later on.
Fixes a bug with legacy serialization
Fixes a bug with pretty printing of modrefs
PR checklist:
[x] Test coverage for the proposed changes
[x] PR description contains example output from repl interaction or a snippet from unit test output
This PR adds more accurate gassing for the operations of module load and dependency loads.
It also:
sizeOf
SizeOf
instances in favor of written ones. Our generic instances were a big culprit in bad estimation and making better ones without templateHaskell seems like a bigger pain. I would rather move to a templateHaskell solution later on.PR checklist:
Additionally, please justify why you should or should not do the following: