Re:Binary to hex faster than xxd, part 1 of 2
by textmode on Thursday May 20, 2021 @07:11AM
(#27219672)
writeall() comes from http://nacl.cace-project.eu and there it is used in a networking program. I removed poll() but only see a very small speed increase so far.
fsync() can be removed too but I'm not seeing any resulting speed increase.
Alas, input is not always a file so mmap() is not an option.
fsync() can be removed too but I'm not seeing any resulting speed increase.
Alas, input is not always a file so mmap() is not an option.