mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +00:00
Previously we were putting strings at the bottom of the allocated stack region, and pointer arrays (argv, env, auxv) at the top. There was no reason for this other than "it seemed easier to do it that way at the time I wrote it." This patch packs the strings and pointer vectors into the same area at the top of the stack. This reduces the memory footprint of all programs by 4 KiB. :^)
33 KiB
33 KiB