Closed Bug 454317 Opened 16 years ago Closed 16 years ago

[FIX]Improve nsIContent::GetClasses performance

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(1 file)

No reason to make all callers pay the virtual method call up front when in the common case we can do the simple inline bit-check first.

Patch coming up.
Attached patch Like soSplinter Review
Attachment #337571 - Flags: superreview?(jst)
Attachment #337571 - Flags: review?(Olli.Pettay)
Attachment #337571 - Flags: review?(Olli.Pettay) → review+
Attachment #337571 - Flags: superreview?(jst) → superreview+
Pushed changeset 41b807c273cf.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
QA Contact: content
Component: Content → DOM
QA Contact: content → general
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: