Changeset 127973 in webkit
- Timestamp:
- Sep 8, 2012 12:50:03 PM (12 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r127941 r127973 1 2012-09-08 Andreas Kling <kling@webkit.org> 2 3 Give AtomicString SimpleClassVectorTraits. 4 <http://webkit.org/b/96186> 5 6 Reviewed by Karl Anders Carlsson. 7 8 AtomicString can be initialized/moved/compared with memset/memcpy/memcmp, 9 so add a VectorTraits<AtomicString> to make Vector<AtomicString> a little 10 more efficient. 11 12 * wtf/VectorTraits.h: 13 1 14 2012-09-07 Sheriff Bot <webkit.review.bot@gmail.com> 2 15 -
trunk/Source/WTF/wtf/VectorTraits.h
r111778 r127973 31 31 32 32 namespace WTF { 33 34 class AtomicString; 33 35 34 36 template<bool isPod, typename T> … … 77 79 struct VectorTraits<OwnPtr<P> > : SimpleClassVectorTraits { }; 78 80 81 template<> 82 struct VectorTraits<AtomicString> : SimpleClassVectorTraits { }; 83 79 84 template<typename First, typename Second> 80 85 struct VectorTraits<pair<First, Second> >
Note: See TracChangeset
for help on using the changeset viewer.