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)

x86
All
defect

Tracking

()

People

(Reporter: jwatt, Unassigned)

Details

(Keywords: perf)

Attachments

(1 file)

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.
This is roughly how we'd do it I think.
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.
QA Contact: ian → general
Keywords: perf
Assignee: jwatt → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: