In WebEventFactory::createWebTouchEvent(), when constructor the vector of touch points, we already know in advance the total number of touch points. Therefore, we should leverage WTF::Vector::reserveCapacity() and WTF::Vector::uncheckedAppend() to save some capacity checks.
Created attachment 191662 [details] Patch
Comment on attachment 191662 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=191662&action=review Why not... > Source/WebKit2/Shared/efl/WebEventFactory.cpp:225 > + touchPoints.reserveCapacity(eina_list_count(points)); This should be reserveInitialCapacity.
Created attachment 191676 [details] Patch for landing
Comment on attachment 191676 [details] Patch for landing Clearing flags on attachment: 191676 Committed r144898: <http://trac.webkit.org/changeset/144898>
All reviewed patches have been landed. Closing bug.