# std.mem.order: use for loop syntax · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/e6e8cacab904f10d6e5a773867826570783d0bf4)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: e6e8cacab904f10d6e5a773867826570783d0bf4

Requested commit: e6e8cacab904f10d6e5a773867826570783d0bf4

Commit: e6e8cacab904f10d6e5a773867826570783d0bf4

Tree: 3485c42eb335dd5f3bde6c4ac540cdbd2456ada5

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.mem.order: use for loop syntax

Not only does it look nicer, it's a performance enhancement for debug
builds since the safety checks are eliminated.

```

## Parents

- [32cb9462ffa0a9df7a080d67eaf3a5762173f742](https://git.cafe/gitcafe/zig/commit/32cb9462ffa0a9df7a080d67eaf3a5762173f742?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/e6e8cacab904f10d6e5a773867826570783d0bf4?format=markdown)
