diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-05-25 19:29:03 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-05-25 19:29:03 -0400 |
| commit | cda102be020ef9c5c1425553ff611720f496f17e (patch) | |
| tree | e43393b8686f5eb25fce441a4c41b4cb1190a0f7 /lib/std/array_list.zig | |
| parent | 6d5ec184ab1a1b8c155714801f7d6cb7ea6f5b8f (diff) | |
| download | zig-cda102be020ef9c5c1425553ff611720f496f17e.tar.gz zig-cda102be020ef9c5c1425553ff611720f496f17e.zip | |
improvements to self-hosted cache hash system
* change miscellaneous things to more idiomatic zig style
* change the digest length to 24 bytes instead of 48. This is
still 70 more bits than UUIDs. For an analysis of probability of
collisions, see:
https://en.wikipedia.org/wiki/Universally_unique_identifier#Collisions
* fix the API having the possibility of mismatched allocators
* fix some error paths to behave properly
* modify the guarantees about when file contents are loaded for input files
* pwrite instead of seek + write
* implement isProblematicTimestamp
* fix tests with regards to a working isProblematicTimestamp function.
this requires sleeping until the current timestamp becomes
unproblematic.
* introduce std.fs.File.INode, a cross platform type abstraction
so that cache hash implementation does not need to reach into std.os.
Diffstat (limited to 'lib/std/array_list.zig')
0 files changed, 0 insertions, 0 deletions
