More on performance between fread, fgets and sse2 optimized fgets

Why is fgets som much slower than fread? I am don’t really know; I haven’t looked into the code so I really don’t know what it does, but I guess it reads a buffer, scans through the text until it finds new line character or end of file or comes to the end of buffer […]