Changeset 233728 in webkit
- Timestamp:
- Jul 11, 2018 6:30:14 AM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r233720 r233728 1 2018-07-11 Zalan Bujtas <zalan@apple.com> 2 3 SimpleLineLayout::FlowContents wastes 54KB of Vector capacity on nytimes.com 4 https://bugs.webkit.org/show_bug.cgi?id=186709 5 <rdar://problem/41173793> 6 7 Reviewed by Simon Fraser. 8 9 The size of the m_segments vector in SimpleLineLayoutFlowContents is alway pre-computed and don't change after the initial append. 10 11 Not testable. 12 13 * rendering/SimpleLineLayoutFlowContents.h: 14 1 15 2018-07-10 Youenn Fablet <youenn@apple.com> 2 16 -
trunk/Source/WebCore/rendering/SimpleLineLayoutFlowContents.h
r233682 r233728 59 59 private: 60 60 unsigned segmentIndexForRunSlow(unsigned start, unsigned end) const; 61 const Vector<Segment , 8> m_segments;61 const Vector<Segment> m_segments; 62 62 mutable unsigned m_lastSegmentIndex { 0 }; 63 63 };
Note: See TracChangeset
for help on using the changeset viewer.