diff options
| author | Raph Levien <raph@google.com> | 2016-04-09 17:11:20 -0700 |
|---|---|---|
| committer | Raph Levien <raph@google.com> | 2016-04-09 17:16:54 -0700 |
| commit | b2db97347bc4373deea24eb7b7c6ecffb117fd8c (patch) | |
| tree | b56edebcd2012961de7fa7ecb829bb4c5afd2869 /src/libsyntax | |
| parent | 526f2bf5c534308193246e13ab2da8b3c0cf3cbb (diff) | |
| download | rust-b2db97347bc4373deea24eb7b7c6ecffb117fd8c.tar.gz rust-b2db97347bc4373deea24eb7b7c6ecffb117fd8c.zip | |
Bit-magic for faster is_char_boundary
The asm generated for b < 128 || b >= 192 is not ideal, as it computes both sub-inequalities. This patch replaces it with bit magic. Fixes #32471
Diffstat (limited to 'src/libsyntax')
0 files changed, 0 insertions, 0 deletions
