Allocating large blocks of memory: bare-metal C++ speeds
CRANK

In a previous post, I benchmarked the allocation of large blocks of memory using idiomatic C++. I got a depressing result: the speed could be lower than 2 GB/s. For comparison, the disk in my laptop has greater bandwidth. Methodologically, I benchmarked the “new” operator in C++ with initialization, using the GNU GCC compiler with … Continue reading Allocating large blocks of memory: bare-metal C++ speeds

lemire.me
Related Topics: C++