Search found 1 match

by Jordan350
Sat Mar 09, 2019 2:55 am
Forum: General Computer Forum
Topic: Why is memset slow?
Replies: 3
Views: 1674

Why is memset slow?

The spec for my CPU says it should get 5.336GB/s bandwidth to memory. To test this, I wrote a simple program that runs memset (or memcpy) on a big array and reports the timing. I'm showing 3.8GB/s on memset and 1.9GB/s on memcpy .