# WasmAllocator: simplify thanks to new Allocator interface · gitcafe/zig

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

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

Visibility: public

Requested revision: 7f063b2c52b5daf55b8b1184502a94d0def4cd22

Requested commit: 7f063b2c52b5daf55b8b1184502a94d0def4cd22

Commit: 7f063b2c52b5daf55b8b1184502a94d0def4cd22

Tree: 5ea8feb7f21d19a618a5699dd1380f7b7a396de6

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
WasmAllocator: simplify thanks to new Allocator interface

Now it can refuse to resize when it would disturb the metadata tracking
strategy, resulting in smaller code size, a simpler implementation, and
less fragmentation.

```

## Parents

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

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