# more optimized and correct management of 8-bit PC counters · gitcafe/zig

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

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

Visibility: public

Requested revision: f6f1ecf0f9227bee33b963a6ff5dfc3001ad2c46

Requested commit: f6f1ecf0f9227bee33b963a6ff5dfc3001ad2c46

Commit: f6f1ecf0f9227bee33b963a6ff5dfc3001ad2c46

Tree: 0995711a5355f2526ab4455909892a8107e500be

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
more optimized and correct management of 8-bit PC counters

* Upgrade from u8 to usize element types.
  - WebAssembly assumes u64. It should probably try to be target-aware
    instead.
* Move the covered PC bits to after the header so it goes on the same
  page with the other rapidly changing memory (the header stats).

depends on the semantics of accepted proposal #19755

closes #20994

```

## Parents

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

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