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.