Can we share hyphenation data across processes?
Categories
(Core :: Internationalization, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: jfkthame)
References
(Blocks 1 open bug)
Details
(Whiteboard: [overhead:655K])
Attachments
(1 file)
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
Updated•6 years ago
|
Comment 6•6 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 7•5 years ago
|
||
Bug 1567437 comment 2 gives examples of the total memory footprint of loading hyphenation patterns.
Assignee | ||
Comment 8•5 years ago
|
||
Assignee | ||
Comment 9•5 years ago
|
||
Bug 1590167 makes this no longer an issue for desktop Firefox, as the hyphenation resources are stored uncompressed in the omnijar (which is mapped into memory already) and the new mapped_hyph library uses the resources directly from there.
On Android (GeckoView), the omnijar is compressed, so in order to use a hyphenation table it must first be uncompressed. The RAM footprint of this is much smaller with mapped_hyph than it was with libhyphen, but may be as much as a megabyte for the largest hyphenation resources. Therefore, using shared memory to share a single uncompressed copy across all processes will still be beneficial in a multi-content-process world.
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Description
•