aboutsummaryrefslogtreecommitdiff
path: root/lib/std/array_list.zig
diff options
context:
space:
mode:
authorr00ster91 <r00ster91@proton.me>2022-11-01 18:26:04 +0100
committerr00ster91 <r00ster91@proton.me>2022-12-09 21:57:17 +0100
commit0162a0868c18dc94f8d89c0c95bd89ebd63c0b41 (patch)
treee7aebbb1833c0792e66f06042c28372c72084272 /lib/std/array_list.zig
parent19dbc5805c440dbfb22bbd3e75c7ec706655bb19 (diff)
downloadzig-0162a0868c18dc94f8d89c0c95bd89ebd63c0b41.tar.gz
zig-0162a0868c18dc94f8d89c0c95bd89ebd63c0b41.zip
isHex, isAlphanumeric: prong reorder
On x86 interestingly I can see a reduction in codesize by 1 instruction with this. While not necessarily faster, it might still reduce codesize a bit and this ordering is also more logical because it follows ASCII table order. Rust's std uses this ordering too. See https://zig.godbolt.org/z/PqodY8YqY for the difference.
Diffstat (limited to 'lib/std/array_list.zig')
0 files changed, 0 insertions, 0 deletions