0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/test
Andrew Kelley 8b82c40104 stage1: reimplement HashMap
The indexes are stored separately using an array of
uint8_t, uint16_t, uint32_t, or size_t, depending on the number of
entries in the map.

Entries only contain a key and a value, no longer have
distance_from_start_index or is_used.

In theory this should be both faster and use less memory.

In practice it seems to have little to no effect. For the standard
library tests, vs master branch, the time had no discernable
difference, and it shaved off only 13 MiB of peak rss usage.
History 2020-07-02 04:53:26 +00:00
..
src std lib API deprecations for the upcoming 0.6.0 release 2020-03-30 14:23:22 -04:00
stage1 stage1: reimplement HashMap 2020-07-02 04:53:26 +00:00
stage2 Disable test 2020-06-27 21:10:44 -04:00
standalone Use writer in benchmarks 2020-06-25 19:07:25 -04:00
assemble_and_link.zig update std lib to new Target API 2020-02-28 14:51:54 -05:00
cli.zig Add 'no changes' test to zig fmt cli test 2020-06-20 22:21:23 -07:00
compare_output.zig test & docs fixups to work with new semantics 2020-03-19 09:53:55 -04:00
compile_errors.zig Merge pull request #5696 from alexnask/async_call_tuple 2020-06-28 01:00:58 -04:00
gen_h.zig @OpaqueType -> @Type(.Opaque) 2020-04-28 00:02:13 -06:00
run_translated_c.zig translate-c: use correct scope in for loop condition 2020-05-27 14:14:17 +03:00
runtime_safety.zig Fixed @asyncCall in runtime safety test 2020-06-24 18:43:11 +03:00
stack_traces.zig update docs/tests for async/extern fn removal 2020-05-05 10:31:32 -06:00
standalone.zig Enable the test standalone/global_linkage 2020-05-16 02:05:55 +09:00
tests.zig fix memory errors 2020-06-09 00:17:22 -04:00
translate_c.zig Adds std.meta.cast and uses it to simplify translate-c 2020-06-21 18:24:59 +01:00