Tags: xrstf/pigeon
Tags
Calculate litMatcher.want at codegen time (mna#95) parseLitMatcher() was calling strconv.AppendQuote() each time, which my profiler discovered was costing a measurably large amount of runtime during parsing within dhall-golang. This commit calculates litMatcher.want at codegen time so that we don't have to compute the `want` value each time we parse with the litMatcher.