<p dir="ltr">Hi Jerald</p>
<p dir="ltr">When you compile code for performance test, make sure debugging is disabled, and optimization is at highest level.</p>
<p dir="ltr">I see one problem beyond compiler optimization: <br>
m_wheelEvents is a vector, but there are lots of front-insert and erase operations. A doubly linked list may perform better.</p>
<p dir="ltr">Yours, Junxiao</p>