diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-03-10 14:17:27 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-03-10 14:21:37 -0700 |
| commit | 9f163310f2bfa4f5289c1db6231089f3be0c9b93 (patch) | |
| tree | a3e6012d38c15d34c847773c27189c8a4f1edadb /src/codegen/c.zig | |
| parent | 569870ca41e73c64d8dc9f1eccfef3529caf2266 (diff) | |
| download | zig-9f163310f2bfa4f5289c1db6231089f3be0c9b93.tar.gz zig-9f163310f2bfa4f5289c1db6231089f3be0c9b93.zip | |
stage2: improve Type.eql and Type.hash for error sets
* Reduce branching in Type.eql and Type.hash for error sets.
* `Type.eql` uses element-wise bytes comparison since it can rely on
the error sets being pre-sorted.
* Avoid unnecessarily skipping tests that are passing.
Diffstat (limited to 'src/codegen/c.zig')
0 files changed, 0 insertions, 0 deletions
