2 ms·
In my current project I get a significant (about 3%) performance difference when I change my VLAs to allocating the biggest possible size. My guess is that it's
by bluecalm 11y ago
In my current project I get a significant (about 3%) performance difference when I change my VLAs to allocating the biggest possible size.
My guess is that it's because cache implications (a lot of useless 0s occupy a cache when you allocate a lot of useless space on the stack) but I haven't investigated it too deeply, just measured it.