# stage2: get rid of NameHash · gitcafe/zig

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

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

Visibility: public

Requested revision: 731c35f15a1469c9523b71476f1e069d5bcfd979

Requested commit: 731c35f15a1469c9523b71476f1e069d5bcfd979

Commit: 731c35f15a1469c9523b71476f1e069d5bcfd979

Tree: 00b0244c86df035ff721cb45216594426007ce96

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: get rid of NameHash

Previously, stage2 used a global decl_table for all Decl objects, keyed
by a 16-byte name hash that was hopefully unique. Now, there is a tree
of Namespace objects that own their named Decl objects.

```

## Parents

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

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