Perf: Improve HTML entity escaping
Perf: Improve HTML entity escaping

This change significantly speeds up entity ecoding making it 170 ops/sec faster than before.
Benchmark:  https://github.com/marko-js/isomorphic-ui-benchmarks

developit/preact-render-to-string