# wasi-libc: define BULK_MEMORY_THRESHOLD for the bulk_memory feature \(\#13787\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 861aa98ac2a587851c5ec3338a45e2c6d3c49b43

Requested commit: 861aa98ac2a587851c5ec3338a45e2c6d3c49b43

Commit: 861aa98ac2a587851c5ec3338a45e2c6d3c49b43

Tree: 1bc0036eecc9cdb97cfb361757d0396714703e7b

Author: Frank Denis

Committer: GitHub

## Message

```
wasi-libc: define BULK_MEMORY_THRESHOLD for the bulk_memory feature (#13787)

When the bulk_memory feature is enabled, wasi-libc will only use
it if the number of bytes is >= BULK_MEMORY_THRESHOLD

Set it to 32 as in the original wasi-libc Makefile.
```

## Parents

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

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