Improving IO Speed
monarch_dodra
monarchdodra at gmail.com
Fri Mar 14 11:28:24 PDT 2014
On Friday, 14 March 2014 at 18:26:36 UTC, bearophile wrote:
> TJB:
>
>> Do you have any suggestions for improving the speed in this
>> situation?
>
> I have never used readExact so far, so I don't have many
> suggestions. But try to not pack the struct.
Given he's using a raw read, I suspect he doesn't have a choice.
That said, depending on how heavily the struct is used, he could
unpack the struct post-rawRead.
More information about the Digitalmars-d-learn
mailing list