Initialization
Initialization
Posted Mar 11, 2022 1:25 UTC (Fri) by bartoc (guest, #124262)In reply to: Initialization by tialaramex
Parent article: Toward a better list iterator for the kernel
MSVC's behavior is a bit of a problem because there's no great opt-out, and it doesn't really do the optimizations in debug mode, meaning if you ever use stack arrays it's really easy to have awful debug mode performance. It's one of the bigger "MSVC debug perf sucks" things around (along with like, not having a way to write inline functions that are always inlined, even in debug).
If there was an opt-out, and if MSVC had a saner "debug mode" (really these optimizations should be turned on in debug mode imo) then it would be a great behavior.
