Re: Reducing memory usage of the linker and assembler

2023-01-17 Thread Ludovic Courtès
Hello, Ludovic Courtès skribis: > The branch replaces the ‘bv’ field of with ‘size’ and > ‘writer’, the latter being a procedure that takes a bytevector and > writes to it. > > At this point, ‘link-elf’ still allocates one bytevector for each linker > object. Eventually we could rewrite those

Reducing memory usage of the linker and assembler

2023-01-09 Thread Ludovic Courtès
Hello Guilers! The ‘wip-linker-assembler-memory-consumption’ branch I recently pushed aims to reduce the allocation rate and memory consumption of the linker and assembler, as well as the number of bytevector copies. In 3.0.8, the linker and assembler keep roughly two copies of the final ELF file