Closed
Bug 1181444
(replace-nsBaseHashtable-Enumerate)
Opened 9 years ago
Closed 8 years ago
Replace nsBaseHashtable::Enumerate{Read,}() with an iterator
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
People
(Reporter: n.nethercote, Assigned: n.nethercote)
References
Details
Attachments
(3 files)
10.16 KB,
patch
|
froydnj
:
review+
n.nethercote
:
checkin+
|
Details | Diff | Splinter Review |
8.15 KB,
patch
|
froydnj
:
review+
n.nethercote
:
checkin+
|
Details | Diff | Splinter Review |
8.04 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
Iterators are *so* much nicer than Enumerate()-style functions -- no need for a separate function, no need to bundle up relevant local variables into a |void*| closure, etc. Currently there are about 229 calls to nsBaseHashtable::EnumerateRead() and about 143 calls to nsBaseHashtable::Enumerate(), so this is going to take a while.
Assignee | ||
Updated•9 years ago
|
Alias: replace-nsBaseHashtable-Enumerate
Assignee | ||
Updated•9 years ago
|
Assignee: n.nethercote → nobody
Status: ASSIGNED → NEW
Depends on: 1187193
Assignee | ||
Updated•9 years ago
|
Keywords: leave-open
Assignee | ||
Comment 1•9 years ago
|
||
This is almost ready to land. Only a couple more blocking bugs, all of which have patches filed.
Attachment #8690615 -
Flags: review?(nfroyd)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → n.nethercote
Status: NEW → ASSIGNED
Comment 2•9 years ago
|
||
Comment on attachment 8690615 [details] [diff] [review] (part 1) - Remove nsBaseHashtable::EnumerateRead() Review of attachment 8690615 [details] [diff] [review]: ----------------------------------------------------------------- Hooray!
Attachment #8690615 -
Flags: review?(nfroyd) → review+
Assignee | ||
Comment 3•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b181b44bfeeba4e1115d8eedebbfe267226d9b65 Bug 1181444 (part 1) - Remove nsBaseHashtable::EnumerateRead(). r=froydnj.
Assignee | ||
Updated•9 years ago
|
Attachment #8690615 -
Flags: checkin+
Assignee | ||
Comment 4•9 years ago
|
||
EnumerateRead() is now gone. Enumerate() still remains, though weaker than before.
Comment 5•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b181b44bfeeb
Assignee | ||
Comment 6•8 years ago
|
||
Attachment #8713444 -
Flags: review?(nfroyd)
Updated•8 years ago
|
Attachment #8713444 -
Flags: review?(nfroyd) → review+
Comment 8•8 years ago
|
||
Comment on attachment 8713450 [details] [diff] [review] (part 2) - Remove nsBaseHashtable::Enumerate() Review of attachment 8713450 [details] [diff] [review]: ----------------------------------------------------------------- \o/
Attachment #8713450 -
Flags: review?(nfroyd) → review+
Assignee | ||
Comment 9•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/4d0e60e0a2b3bdb7ec5f66d4733cc0df898273da Bug 1181444 (part 1.5) - Remove dead PLDHashOperator declarations. r=froydnj.
Assignee | ||
Updated•8 years ago
|
Attachment #8713444 -
Flags: checkin+
Comment 10•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4d0e60e0a2b3
Assignee | ||
Comment 11•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/3bcdd0107ef0602fc4f8d69103d21e1b3a814618 Bug 1181444 (part 2) - Remove nsBaseHashtable::Enumerate(). r=froydnj.
Comment 12•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3bcdd0107ef0
Assignee | ||
Updated•8 years ago
|
Keywords: leave-open
Assignee | ||
Updated•8 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•