# Use a directEnumArray lookup table instead of a switch · gitcafe/zig

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

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

Visibility: public

Requested revision: 33da465079d8d51bbe8d6e6c9976815a750872d0

Requested commit: 33da465079d8d51bbe8d6e6c9976815a750872d0

Commit: 33da465079d8d51bbe8d6e6c9976815a750872d0

Tree: 4910ed1aa0535f9ff48aa9e7232d9415fb251921

Author: Shachaf Ben-Kiki

Committer: Shachaf Ben-Kiki

## Message

```
Use a directEnumArray lookup table instead of a switch

```

## Parents

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

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