Closed
Description
Right now, we have data/entities.json
and xml5ever/data/entities.json
, which are identical. If a project (such as Servo) requires both html5ever
and xml5ever
, it'll have duplicate copies of the named entity tables, which are not particularly small--about 230K on x86-64 Linux, roughly half that on 32-bit platforms.
Sticking the entities and the process to generate a phf table for them in a separate, shared crate would alleviate this problem. There might be issues down the road if sets of entities in HTML and XML are no longer identical...but I'm sure solutions can be worked out there if necessary.
Metadata
Metadata
Assignees
Labels
No labels