Changeset 183661 in webkit
- Timestamp:
- Apr 30, 2015 6:38:27 PM (9 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r183624 r183661 1 2015-04-30 Alex Christensen <achristensen@webkit.org> 2 3 Decrease minimum Vector size. 4 https://bugs.webkit.org/show_bug.cgi?id=144453 5 6 Reviewed by Andreas Kling. 7 8 * wtf/Vector.h: 9 Make the default min size 4 to save memory on small Vectors. 10 1 11 2015-04-30 Yusuke Suzuki <utatane.tea@gmail.com> 2 12 -
trunk/Source/WTF/wtf/Vector.h
r183499 r183661 582 582 }; 583 583 584 template<typename T, size_t inlineCapacity = 0, typename OverflowHandler = CrashOnOverflow, size_t minCapacity = 16>584 template<typename T, size_t inlineCapacity = 0, typename OverflowHandler = CrashOnOverflow, size_t minCapacity = 4> 585 585 class Vector : private VectorBuffer<T, inlineCapacity> { 586 586 WTF_MAKE_FAST_ALLOCATED;
Note: See TracChangeset
for help on using the changeset viewer.