# mem.zeroes \.Array improvements · gitcafe/zig

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

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

Visibility: public

Requested revision: ef419dd72d3fc9ec1454099367bd8d43f1b5037b

Requested commit: ef419dd72d3fc9ec1454099367bd8d43f1b5037b

Commit: ef419dd72d3fc9ec1454099367bd8d43f1b5037b

Tree: 8b49cf7b47cc3cd527cfa0454ae0d27d8582b62f

Author: Sebastian

Committer: Andrew Kelley

## Message

````
mem.zeroes .Array improvements

Before (when given an array with many elements):
```
zig\std\mem.zig:345:13: error: evaluation exceeded 1000
backwards branches
            for (array) |*element| {
            ^
```
related to https://github.com/ziglang/zig/issues/4847#issuecomment-605721461
````

## Parents

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

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