Bug 265119 - FontCascade::glyphDataForCharacter is a somewhat expensive call
Summary: FontCascade::glyphDataForCharacter is a somewhat expensive call
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-19 20:25 PST by zalan
Modified: 2023-11-20 07:18 PST (History)
12 users (show)

See Also:


Attachments
Patch (1.52 KB, patch)
2023-11-19 20:27 PST, zalan
no flags Details | Formatted Diff | Diff
Patch (1.72 KB, patch)
2023-11-20 06:04 PST, zalan
no flags Details | Formatted Diff | Diff
[fast-cq]Patch (1.72 KB, patch)
2023-11-20 06:09 PST, zalan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description zalan 2023-11-19 20:25:21 PST
ssia
Comment 1 zalan 2023-11-19 20:27:24 PST
Created attachment 468668 [details]
Patch
Comment 2 Antti Koivisto 2023-11-19 23:53:57 PST
Comment on attachment 468668 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=468668&action=review

> Source/WebCore/rendering/RenderText.cpp:309
> +    std::array<bool, 256> hasSeen = { false };

std::bitset is bit more compact
Comment 3 zalan 2023-11-20 06:04:01 PST
Created attachment 468677 [details]
Patch
Comment 4 zalan 2023-11-20 06:09:03 PST
Created attachment 468679 [details]
[fast-cq]Patch
Comment 5 EWS 2023-11-20 07:16:51 PST
Committed 270976@main (8b7f6c1f1080): <https://commits.webkit.org/270976@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 468679 [details].
Comment 6 Radar WebKit Bug Importer 2023-11-20 07:18:29 PST
<rdar://problem/118652566>