diff options
| author | Max Hollmann <hollmannm1@gmail.com> | 2021-10-17 01:10:01 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-10-17 17:47:43 -0400 |
| commit | 53b87fa78a3ee2c261f3bdd6a71d5733fe17ffd5 (patch) | |
| tree | c3ff20f7501d461adf58ccb817f10566c9192cd1 /src/codegen | |
| parent | 22beaf5afcfb4c9c29016f19f363a24f159b5b82 (diff) | |
| download | zig-53b87fa78a3ee2c261f3bdd6a71d5733fe17ffd5.tar.gz zig-53b87fa78a3ee2c261f3bdd6a71d5733fe17ffd5.zip | |
Move `compareFn` from init to type constructor in `PriorityQueue` and `PriorityDequeue`.
This change significantly improves performance for simple compare functions and modifies
the API to be more consistent with e.g. `HashMap`.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
