# std.heap: do not excessively call mmap, and munmap in direct allocator · gitcafe/zig

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

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

Visibility: public

Requested revision: 3c13aa178b007cae19800579b40e82bef127f388

Requested commit: 3c13aa178b007cae19800579b40e82bef127f388

Commit: 3c13aa178b007cae19800579b40e82bef127f388

Tree: a15b00dad61d1f488186db5f8ee1f2c1289df72c

Author: Shawn Landden

Committer: Andrew Kelley

## Message

```
std.heap: do not excessively call mmap, and munmap in direct allocator

```

## Parents

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

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