# heap: make one global instance of DirectAllocator · gitcafe/zig

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

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

Visibility: public

Requested revision: 987c209b407f8379fd58381dcd3975982dfccdaf

Requested commit: 987c209b407f8379fd58381dcd3975982dfccdaf

Commit: 987c209b407f8379fd58381dcd3975982dfccdaf

Tree: 6437a6aa96b60175c23a4eca8e9fad257ba440e2

Author: Sahnvour

Committer: Andrew Kelley

## Message

```
heap: make one global instance of DirectAllocator

it is now stateless, so the de/init are not necessary anymore

```

## Parents

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

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