Closed Bug 454090 Opened 12 years ago Closed 12 years ago
Use .trim() in search service
Thanks to bug 305064, nsSearchService.js no longer needs to roll its own sTrim() function. I saw as I was looking at what I was attaching that I made one logic change, from lowercase-then-trim to trim-then-lowercase, but I'd be rather surprised by any character that turns into a space when lowercased, and not lowercasing spaces ought to save several femtoseconds.
Attachment #337313 - Flags: review?(gavin.sharp)
Attachment #337313 - Flags: review?(gavin.sharp) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.1b1
You need to log in before you can comment on or make changes to this bug.