Timeline for How to output as fast as possible a fixed buffer?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 28, 2019 at 18:41 | comment | added | Maxim Egorushkin | @Zibri You are right that it is I/O bound, but that unnecessary copying doesn't help. | |
Mar 28, 2019 at 17:45 | comment | added | Zibri | I tried... and since I get the same speed as with the original program I'd rather keep it as it is... as I said the bottleneck is in the pipe 90%... | |
Mar 28, 2019 at 16:19 | comment | added | Maxim Egorushkin | @Zibri It may be slow only if you write a small array. Write a bigger array, e.g. 4MB. You need to play with the array size to maximize your throughput. | |
Mar 28, 2019 at 12:42 | history | answered | Maxim Egorushkin | CC BY-SA 4.0 |