René Kijewski 1017451579 Speed-up HTML escaping by using equal sized entities
By using codepoint entities like `'&'` → `"&"`, we have a much
smaller lookup table (58 bytes instead of 29× pointer size ~= 232
bytes). This makes the cache happy, and the benchmark run about ~20%
faster.

```text
$ cargo bench --bench escape
Escaping                time:   [3.4087 µs 3.4126 µs 3.4168 µs]
                        change: [-19.790% -19.580% -19.354%] (p = 0.00 < 0.05)
                        Performance has improved.
```
2024-07-08 00:52:56 +02:00
..
2024-06-17 18:33:34 +02:00
2024-07-02 13:44:27 +02:00
2024-06-17 15:58:52 +02:00
2024-06-17 15:58:52 +02:00
2024-06-17 15:58:52 +02:00
2024-06-17 15:58:52 +02:00
2024-06-17 15:58:52 +02:00
2024-06-17 15:58:52 +02:00
2024-06-17 15:58:52 +02:00
2024-06-17 15:58:52 +02:00
2024-06-17 15:58:52 +02:00
2024-07-04 07:05:57 +02:00
2024-06-28 23:06:21 +02:00
2024-06-17 15:58:52 +02:00
2024-06-17 15:58:52 +02:00
2024-06-17 15:58:52 +02:00
2024-06-17 15:58:52 +02:00
2024-06-17 15:58:52 +02:00
2024-06-17 15:58:52 +02:00
2024-06-17 15:58:52 +02:00
2024-06-17 15:58:52 +02:00
2024-07-02 13:44:27 +02:00
2024-06-17 15:58:52 +02:00
2024-07-04 07:05:57 +02:00
2024-06-17 15:58:52 +02:00