printf slows down my program

后端 未结 9 771
旧巷少年郎
旧巷少年郎 2020-12-14 01:55

I have a small C program to calculate hashes (for hash tables). The code looks quite clean I hope, but there\'s something unrelated to it that\'s bugging me.

I can e

9条回答
  •  别那么骄傲
    2020-12-14 02:42

    You can try to redirect output in shell from console to a file. Using this, logs with gigabytes in size can be created in just seconds.

提交回复
热议问题