Profiling and std::vector part of Hot Path? : <p>I'm trying to find the source of performance issues with my application. Using Visual Studio 2017 profiling tools I got this result:</p>

<p><a href="https://i.stack.imgur.com/z3HPr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z3HPr.png" alt="enter image description here"></a>
<a href="https://i.stack.imgur.com/PRlsg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PRlsg.png" alt="enter image description here"></a></p>

<p>I'm relatively new to C++ so I'm not sure what this <code>std::vector&lt;bool,std::allocator&lt;bool&gt; &gt;::operator[]</code> stuff is or if this is really the bottleneck in my program or not. Any help is appreciated.</p>

<p>Here is my code:
<a href="https://github.com/k-vekos/GameOfLife/tree/multithread" rel="nofollow noreferrer">https://github.com/k-vekos/GameOfLife/tree/multithread</a></p>
