Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

SDK • Re: memset isn't faster than loop?

$
0
0
So I still come to the same conclusion: DMA for memset can beat the CPU, but not by much and only when there's not much else going on in the machine for it to conflict with. There could be special cases where this does actually make sense, but seems unlikely to be common.
I agree, it's good only for some niche cases.
It would also interfere with eventual other DMA channels.

Now I wonder if RISC-V core is better in this regard ... please don't shoot. :)

Statistics: Posted by gmx — Sun Feb 23, 2025 7:44 pm



Viewing all articles
Browse latest Browse all 8609

Trending Articles