An easy phobos i/o bug to fix

Steven Schveighoffer schveiguy at gmail.com
Wed Jul 29 02:22:50 UTC 2020


On 7/28/20 7:44 PM, Avrina wrote:
> On Monday, 27 July 2020 at 15:19:44 UTC, Steven Schveighoffer wrote:
>> I don't use Windows, so I probably won't get around to fixing this. 
>> But ping me if you make a PR, I will review it.

> 
> 
>> This should be an easy change and I'm kind of surprised this has been 
>> open for so long.
> 
> This is the reason why.
> 

Because I don't use Windows? I'm sure there are a lot who do.

Perhaps they don't use rawWrite very much? I would say the likely reason 
is because people who care about performance don't use std.stdio ;)

In any case, it's not a good excuse for such a horrendous performance 
bug to be there for so long. Ironically, rawWrite should be as fast as 
possible because you are not rewriting newlines, but instead it 
eliminates all buffering.

-Steve


More information about the Digitalmars-d mailing list