Commit 2b8378ff authored by mjs@apple.com's avatar mjs@apple.com

2009-05-04 Maciej Stachowiak <mjs@apple.com>

        Rubber stamped by Gavin.

        - inline Vector::resize for a ~1.5% speedup on string-tagcloud

        * wtf/Vector.h:
        (WTF::Vector::resize): Inline



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43205 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 39314970
2009-05-04 Maciej Stachowiak <mjs@apple.com>
Rubber stamped by Gavin.
- inline Vector::resize for a ~1.5% speedup on string-tagcloud
* wtf/Vector.h:
(WTF::Vector::resize): Inline
2009-05-03 Steve Falkenburg <sfalken@apple.com>
Windows build fix.
......@@ -692,7 +692,7 @@ namespace WTF {
}
template<typename T, size_t inlineCapacity>
void Vector<T, inlineCapacity>::resize(size_t size)
inline void Vector<T, inlineCapacity>::resize(size_t size)
{
if (size <= m_size)
TypeOperations::destruct(begin() + size, end());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment