Comment

Comment by Mindless2112

This is a pretty worthless comparison.

* The C# version invokes EndOfStream up to 4096 times for every 1 call to feof in PHP version.

* The C# version opens the file in text mode (and thus does UTF-8 decoding) whereas the PHP version opens the file in binary mode.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton