Visual Studio Code – C++ Allocating large maps on the stack vs heap when the data is known at compile time
I've read conflicting ideas about what to do with large unordered maps, whether to allocate them on the heap vs the stack depending on its size being known/not at compile time. So hopefully someone can clear this up once and…