Skip to content
Prev 100 / 139 Next

R4.2.3 slower than R4.1.3 on Windows only

On 4/18/23 14:16, Fredrik Skoog wrote:
Thanks for the report. I confirm the slowdown with this example and I 
confirm it is due to the change in memory allocator: I've switched my 
working copy of R-devel back to the original version of dlmalloc, which 
removed the slowdown.

Windows 10 (build 19041 and later) allows to choose a more recent 
SegmentHeap allocator instead of the default Low Fragmentation Heap 
allocator. It gives almost the same performance with this example as the 
original version of dlmalloc, without the maintenance overhead of using 
a custom allocator, so this might be one possible solution.

Best
Tomas