diff options
| author | Jay Petacat <jay@jayschwa.net> | 2025-10-31 12:31:57 -0600 |
|---|---|---|
| committer | Ryan Liptak <squeek502@hotmail.com> | 2025-10-31 18:34:33 -0700 |
| commit | 5a38dd28dc6eb7fe1acb7bb94710ab1a99a13565 (patch) | |
| tree | 8112bc5794cb642c91e91cc95db3234eb679af1f /src/codegen/c.zig | |
| parent | 84685497268c0e7dcf11ad8c7aae067ef37a0ab7 (diff) | |
| download | zig-5a38dd28dc6eb7fe1acb7bb94710ab1a99a13565.tar.gz zig-5a38dd28dc6eb7fe1acb7bb94710ab1a99a13565.zip | |
std: Skip element comparisons if `mem.order` args point to same memory
This optimization is used in `mem.eql`, but was missing from `order`,
`orderZ`, and `ascii.orderIgnoreCase`.
Diffstat (limited to 'src/codegen/c.zig')
0 files changed, 0 insertions, 0 deletions
