Open
Bug 356701
Opened 19 years ago
Updated 3 years ago
Rewrite IsAttributeMapped on some SVG elements to use a hash set
Categories
(Core :: SVG, defect)
Tracking
()
NEW
People
(Reporter: jwatt, Unassigned)
Details
(Keywords: perf)
Attachments
(1 file)
4.77 KB,
patch
|
Details | Diff | Splinter Review |
Many SVG elements have a considerable number of mapped attributes. In these cases it would be far more efficient to use a hash set instead of pointer comparison. I have some code worked out for this already.
![]() |
Reporter | |
Comment 1•19 years ago
|
||
This is roughly how we'd do it I think.
![]() |
Reporter | |
Comment 2•19 years ago
|
||
On the other hand this would use more memory than our current method of finding out whether an attribute is mapped into style. It would be nice to have some numbers so we can have a better idea of the win/cost of this approach.
Updated•16 years ago
|
QA Contact: ian → general
![]() |
Reporter | |
Updated•12 years ago
|
Assignee: jwatt → nobody
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•