Closed mheyer32 closed 1 year ago
I believe 356b99f9c5a9d463211853e0da56d9b09c681d07 crippled fread's performance by making it read the files byte by byte.
The commit to change __srget to read bytewise doesn't explain why that is the right thing to do, but the function comment
int __srget(FILE stream) / Get next input block */
suggests that the function is supposed to read in blocks, not single bytes.
oh . a side effect^^
getchar() tried to read the full buffer, before returning... ... needs a different solution then
getchar()
should be live in ~1 hour
Thank you, fread works again :-)
I believe 356b99f9c5a9d463211853e0da56d9b09c681d07 crippled fread's performance by making it read the files byte by byte.
The commit to change __srget to read bytewise doesn't explain why that is the right thing to do, but the function comment
suggests that the function is supposed to read in blocks, not single bytes.