internal/pkg: avoid repeating the args adt.Value slice in CallCtxt
The type embeds adt.CallContext, which has that slice already,
accessible via the Value method.
This helps make CallCtxt a little bit smaller,
reducing the allocated space overhead per func call.
│ old │ new │
│ B/op │ B/op vs base │
VetInventory 4.703Gi ± ∞ ¹ 4.687Gi ± ∞ ¹ -0.34% (p=1.000 n=1)
│ old │ new │
│ allocs/op │ allocs/op vs base │
VetInventory 49.86M ± ∞ ¹ 49.86M ± ∞ ¹ +0.00% (p=1.000 n=1)
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: Ibbce4a10173193979b624b37d3dfab52c6d1c5a0
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1229427
Reviewed-by: Matthew Sackman <matthew@cue.works>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>