internal/core/convert: reuse singleton struct and list marker allocs
These are empty struct types, so there is no need to create
new ones for each value.
│ old │ new │
│ B/op │ B/op vs base │
VetInventory 4.618Gi ± ∞ ¹ 4.613Gi ± ∞ ¹ -0.11% (p=1.000 n=1)
│ old │ new │
│ allocs/op │ allocs/op vs base │
VetInventory 49.29M ± ∞ ¹ 49.06M ± ∞ ¹ -0.46% (p=1.000 n=1)
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: Ifff7bc20d6f73f829eb842f1b2f2891117efb858
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1229433
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
Reviewed-by: Matthew Sackman <matthew@cue.works>