| Summary: | [LFC][IFC] Optimize LineLayoutContext::tryAddingInlineItems for the most common inline content | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | zalan <zalan> | ||||||
| Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | bfulgham, commit-queue, koivisto, simon.fraser, webkit-bug-importer, zalan | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
zalan
2020-01-16 14:15:31 PST
Created attachment 387958 [details]
Patch
Comment on attachment 387958 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=387958&action=review > Source/WebCore/layout/inlineformatting/LineLayoutContext.cpp:209 > +inline void LineCandidateContent::reset() Does the inlining actually make a difference? (In reply to Simon Fraser (smfr) from comment #3) > Comment on attachment 387958 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=387958&action=review > > > Source/WebCore/layout/inlineformatting/LineLayoutContext.cpp:209 > > +inline void LineCandidateContent::reset() > > Does the inlining actually make a difference? yes, this is a very hot codepath (I wouldn't have made this change otherwise) Created attachment 388002 [details]
Patch
Comment on attachment 388002 [details] Patch Clearing flags on attachment: 388002 Committed r254736: <https://trac.webkit.org/changeset/254736> All reviewed patches have been landed. Closing bug. |