mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
d81a235f33
A number of fairly common operations are invoked way too many times, especially when using incbin. Drastically reduce the number of system calls that need to be executed, and use memory mapping to reduce unnecessary double buffering. We could improve this further by leaving files open once used; however, that might run into file count problems on some systems. Still unclear is why we seem to invoke nasm_file_size() twice per pass for incbin. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
3 lines
64 B
Plaintext
3 lines
64 B
Plaintext
This is the wrong line of text.
|
|
This is the right line of text.
|