# mem: rename align\*Generic to mem.align\* · gitcafe/zig

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

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

Visibility: public

Requested revision: d41111d7ef531f6f55a19c56205d6d2f1134c224

Requested commit: d41111d7ef531f6f55a19c56205d6d2f1134c224

Commit: d41111d7ef531f6f55a19c56205d6d2f1134c224

Tree: 14d7b7764a64fa2d4d274c0726a1a587484c4999

Author: Motiejus Jakštys

Committer: Andrew Kelley

## Message

```
mem: rename align*Generic to mem.align*

Anecdote 1: The generic version is way more popular than the non-generic
one in Zig codebase:

     git grep -w alignForward | wc -l
    56
     git grep -w alignForwardGeneric | wc -l
    149

     git grep -w alignBackward | wc -l
    6
     git grep -w alignBackwardGeneric | wc -l
    15

Anecdote 2: In my project (turbonss) that does much arithmetic and
alignment I exclusively use the Generic functions.

Anecdote 3: we used only the Generic versions in the Macho Man's linker
workshop.

```

## Parents

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

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