This avoids having to do one pass to calculate the full length to allocate followed by a second pass to actually append values. Signed-off-by: Martin Storsjö <martin@martin.st>
12 KiB
12 KiB