diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-03-09 22:50:27 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-03-10 13:13:17 -0500 |
| commit | 6e49ba77f3001fe04d4b2177a5c37d28bd422758 (patch) | |
| tree | cfd55e3566fbf651e339529ff03693c75484907b /src/codegen.zig | |
| parent | f736cde397a6abb1399827ed5988c43001706580 (diff) | |
| download | zig-6e49ba77f3001fe04d4b2177a5c37d28bd422758.tar.gz zig-6e49ba77f3001fe04d4b2177a5c37d28bd422758.zip | |
std: add sort method to ArrayHashMap and MultiArrayList
This also adds `std.sort.sortContext` and
`std.sort.insertionSortContext` which are more advanced methods that
allow overriding the `swap` method. The former calls the latter for now
because reworking the main sort implementation is a big task that can be
done later without any changes to the API.
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions
