Move declarations outside of hot func (via @shurcooL https://github.com/sourcegraph/syntaxhighlight/commit/34722e38d0f64b45620995bb1d044bc69e56dd9f#commitcomment-6499085)