WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
69260
FontFallbackList: Glyph pages waste a lot of memory.
https://bugs.webkit.org/show_bug.cgi?id=69260
Summary
FontFallbackList: Glyph pages waste a lot of memory.
Andreas Kling
Reported
2011-10-03 08:21:36 PDT
The m_pages hash map in FontFallbackList is defined as follows: typedef HashMap<int, GlyphPageTreeNode*> GlyphPages; GlyphPages m_pages; This uses the default HashMap minimum table size of 64 buckets which is quite wasteful in many cases. One idea is to lower the minimum table size using hash traits. A patch will follow that lowers it to 16, which reduces memory consumption by ~900 kB when loading the full HTML5 spec.
Attachments
Proposed patch
(1.69 KB, patch)
2011-10-03 08:25 PDT
,
Andreas Kling
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Andreas Kling
Comment 1
2011-10-03 08:25:23 PDT
Created
attachment 109486
[details]
Proposed patch
WebKit Review Bot
Comment 2
2011-10-03 09:50:00 PDT
Comment on
attachment 109486
[details]
Proposed patch Clearing flags on attachment: 109486 Committed
r96512
: <
http://trac.webkit.org/changeset/96512
>
WebKit Review Bot
Comment 3
2011-10-03 09:50:04 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug