lila/ui/@types/lichess
Niklas Fiekas 464b196051 optimize escapeHtml
https://jsperf.com/html-escaping
https://jsperf.com/html-escaping-2
https://jsperf.com/optimistic-html-escaping

- Remove duplicate escapeHtml implementations.
- Using the VDOM to escape is ~4x slower than chained regex
  replacements.
- An optimistic check is very cheap even on long strings.
2017-12-19 21:38:20 +01:00
..
index.d.ts optimize escapeHtml 2017-12-19 21:38:20 +01:00
package.json