| author | |
| committer | |
| log | 104ef3caee949f2c02e5db2d72fec3b630917ae3 |
| tree | 48c04e1bc91e035ac89ed39e940d3ad460582a4b |
| parent | 12577f3b30c6a120f3a3737ff7d402241ba04f5a |
reduces print time of git/zig-unicode-ucd/tree/-/src/unicode_data.zig from 5.2s to 911ms1 files changed, 8 insertions(+), 0 deletions(-)
src/lib.zig+8| ... | ... | @@ -401,6 +401,14 @@ fn isCodepointAnEntity(cp: u21) ?htmlentities.Entity { |
| 401 | 401 | '+', |
| 402 | 402 | '/', |
| 403 | 403 | '@', |
| 404 | ' ', | |
| 405 | 'a'...'z', | |
| 406 | 'A'...'Z', | |
| 407 | '0'...'9', | |
| 408 | '_', | |
| 409 | '=', | |
| 410 | '-', | |
| 411 | ';', | |
| 404 | 412 | => return null, |
| 405 | 413 | else => {}, |
| 406 | 414 | } |