diff options
| author | Frank Denis <124872+jedisct1@users.noreply.github.com> | 2023-07-18 00:40:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-18 00:40:31 +0200 |
| commit | a0b35249a29c6869650ba7e3515999fcced8dcf2 (patch) | |
| tree | 42b82769f330b2840d23363b57033677e5dc36ea /lib/std/BitStack.zig | |
| parent | a86f589a9f03622aa13eab4895c505c7f131c075 (diff) | |
| download | zig-a0b35249a29c6869650ba7e3515999fcced8dcf2.tar.gz zig-a0b35249a29c6869650ba7e3515999fcced8dcf2.zip | |
Replace hand-written endian-specific loads with std.mem.readInt*() (#16431)
And when we have the choice, favor little-endian because it's 2023.
Gives a slight performance improvement:
md5: 552 -> 555 MiB/s
sha1: 768 -> 786 MiB/s
sha512: 211 -> 217 MiB/s
Diffstat (limited to 'lib/std/BitStack.zig')
0 files changed, 0 insertions, 0 deletions
