diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-03-25 15:33:15 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-03-25 15:33:15 +0000 |
| commit | a99434929ced7673087458d18c4f78ae8a4c962a (patch) | |
| tree | 5216d9d2dd0cffe30e2adeb65a8641554f2aa77b /scripts | |
| parent | scripts: generate-alt-random: generate both opaque and transparent sixels (diff) | |
sixel: abuse wmemset() when initializing a freshly allocated image buffer
wmemset() is heavily optimized, and in some cases, *much* faster than
manually initializing the new image pixels.
Furthermore, assume calloc() is better at initializing memory to zero,
and use that when initializing new pixels in a transparent image.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
