Closed Bug 564757 Opened 15 years ago Closed 14 years ago

nsCharsetAlias2::Equals should use case-sensitive equality comparison

Categories

(Core :: Internationalization, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: hsivonen, Assigned: smontagu)

Details

(Keywords: perf)

Attachments

(1 file)

nsCharsetAlias2::Equals compares the return values of two GetPreferred calls. Since GetPreferred returns the canonical name, it should be enough to do a code point for code point compare for the sake of performance.
Attached patch PatchSplinter Review
Attachment #523316 - Flags: review?(VYV03354)
Attachment #523316 - Flags: review?(VYV03354) → review+
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-cedar]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: