March 04, 2013
On Friday, 1 March 2013 at 01:02:17 UTC, Piotr Szturmaj wrote:
> Anytime you read one byte from typical hard disk, system reads full sector - typically 512 bytes, no more, no less.

As Marco Leise wrote: now this 4KiB in many case..
That's one big issue with performance tuning: if you hardcoded your code with 512B page, you don't get the optimal performance in a 4KiB page system..
March 04, 2013
On Friday, 1 March 2013 at 22:18:10 UTC, Chris Cain wrote:
> Okay, sure, performance. But if you want to code for performance, there's nothing stopping you now. The idea about ranges is to unify lots of concepts. If you need lower level work and require every bit of performance, but still want to use ranges, then you can, but it should be a specialized range type that you do it on which meets your precise specification.
>

And still, some time you'd be surprised by what the compiler can do for you. Cf the discussion about SentinelRange.
1 2
Next ›   Last »