Closed
Bug 83490
Opened 23 years ago
Closed 23 years ago
autocomplete needs a non-allocating accessor
Categories
(Core Graveyard :: History: Global, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: alecf, Assigned: alecf)
Details
Attachments
(1 file)
5.07 KB,
patch
|
Details | Diff | Splinter Review |
in the global history code where we're returning a sorted set of entries to the url bar, we do a tremendous amount of allocation in AutocompleteSortComparison just to compare two strings. what we really need is a way to access the data inside the nsIAutoCompleteItem without any allocations. patch forthcoming cc'ing hewitt for sr=, and dmose because he might be interested in this stuff for ldap
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 2•23 years ago
|
||
notes on this patch.. - nsCRT::strcmp() already does null checking/etc (implemented that myself over a year ago :)) - fixed up the IDL comments to javadoc style, wrapping at < 80 columns, etc - ignore that #if 0 code in nsGlobalHistory - I won't check that it, it's part of another bug...
Comment 3•23 years ago
|
||
thanks for cleaning up after me, alec. sr=hewitt
Assignee | ||
Comment 4•23 years ago
|
||
dmose suggested I try using AString - I'll have a new patch in a bit, after I figure out what the impact of that is going to be..
Assignee | ||
Comment 6•23 years ago
|
||
oops, marking fixed.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 7•22 years ago
|
||
mass-verifying claudius' Fixed bugs which haven't changed since 2001.12.31. if you think this particular bug is not fixed, please make sure of the following before reopening: a. retest with a *recent* trunk build. b. query bugzilla to see if there's an existing, open bug (new, reopened, assigned) that covers your issue. c. if this does need to be reopened, make sure there are specific steps to reproduce (unless already provided and up-to-date). thanks! [set your search string in mail to "AmbassadorKoshNaranek" to filter out these messages.]
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•