Re: Why is this so slow?
- From: Eric Grange <egrangeNO@xxxxxxxxxxxxxxx>
- Date: Fri, 07 Oct 2005 10:35:53 +0200
If you have memory read+write accesses you're bound to be slower than if you just have write access, because in the first case, well, the CPU has to access the memory, make the calculation and store the result. In the second case, you just store the result.
If your DIB is in AGP memory (dunno if that's your case), then things could get really ugly since AGP memory isn't cached: the write-only code would be able to make use of write combiners, but the read/write code wouldn't, so if it were slower by a factor of 32 to 64 (depending on CPU model) it wouldn't be surprising.
Eric .
- Follow-Ups:
- Re: Why is this so slow?
- From: CyberShaman
- Re: Why is this so slow?
- References:
- Why is this so slow?
- From: cybershaman
- Why is this so slow?
- Prev by Date: Re: FastCode RTL Replacement v0.12 Released!
- Next by Date: Re: Why is this so slow?
- Previous by thread: Why is this so slow?
- Next by thread: Re: Why is this so slow?
- Index(es):
Relevant Pages
|