# don't memoize comptime functions if they can mutate state via parameters · gitcafe/zig

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

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

Visibility: public

Requested revision: 6db9be8900bf43632c8a98d91c6a92f30b33500a

Requested commit: 6db9be8900bf43632c8a98d91c6a92f30b33500a

Commit: 6db9be8900bf43632c8a98d91c6a92f30b33500a

Tree: e5a9dde7f5cc3a44439e22c16695edac010b55ab

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
don't memoize comptime functions if they can mutate state via parameters

closes #639

```

## Parents

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

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