# macho: refactor management of section ordinals · gitcafe/zig

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

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

Visibility: public

Requested revision: bf25650974933cdb8c1314a85e0838257f6f4471

Requested commit: bf25650974933cdb8c1314a85e0838257f6f4471

Commit: bf25650974933cdb8c1314a85e0838257f6f4471

Tree: 2310ad44ae66ca5b1d0341553841ff67be4cf724

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
macho: refactor management of section ordinals

Instead of storing a two-way relation (seg,sect) <=> ordinal
we get the latter with `getIndex((seg, sect))`.

```

## Parents

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

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