# when result loc is a slice, avoid evaluating lazy start\.\.end · gitcafe/zig

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

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

Visibility: public

Requested revision: 8688c437455d8e8f1f031177375e570022c16ce7

Requested commit: 8688c437455d8e8f1f031177375e570022c16ce7

Commit: 8688c437455d8e8f1f031177375e570022c16ce7

Tree: dcb130a083ff3fe086cee9c79899b467ebd0ebb7

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
when result loc is a slice, avoid evaluating lazy start..end

This prevents lazy values from being unnecessarily evaluated.

```

## Parents

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

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