Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allocate unstable.Parser as part of decoder (#953)
This way, calls to Unmarshal or Decoder.Decode allocate once at the start rather than twice. │ old │ new │ │ allocs/op │ allocs/op vs base │ Unmarshal/HugoFrontMatter-8 141.0 ± 0% 140.0 ± 0% -0.71% (p=0.002 n=6)
- Loading branch information