Closed
Bug 1448220
Opened 7 years ago
Closed 7 years ago
Convert VarCache prefs used by the network predictor service to use StaticPrefs
Categories
(Core :: Networking, enhancement, P1)
Core
Networking
Tracking
()
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: n.nethercote, Assigned: n.nethercote)
References
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
See bug 1448219 for details.
Comment hidden (mozreview-request) |
![]() |
Assignee | |
Updated•7 years ago
|
Attachment #8961638 -
Flags: review?(hurley)
![]() |
Assignee | |
Updated•7 years ago
|
Summary: Convert VarCache prefs used by the network predictor service to the new StaticPrefList mechanism → Convert VarCache prefs used by the network predictor service to use StaticPrefs
Updated•7 years ago
|
Priority: -- → P1
Whiteboard: [necko-triaged]
Comment on attachment 8961638 [details]
Bug 1448220 - Convert all network predictor VarCache prefs to the new StaticPrefList form.
https://reviewboard.mozilla.org/r/230510/#review236630
Well, I'm not a big fan of how this makes the code read (the general approach, IMO, hurts dev ergonomics), but that ship has sailed. Given all that, this looks as reasonable as can be expected.
Attachment #8961638 -
Flags: review?(hurley) → review+
![]() |
Assignee | |
Comment 3•7 years ago
|
||
> Well, I'm not a big fan of how this makes the code read (the general
> approach, IMO, hurts dev ergonomics), but that ship has sailed.
What are your objections?
(In reply to Nicholas Nethercote [:njn] from comment #3)
> What are your objections?
Nothing that hasn't been stated over in bug 1436655 (kills rebuild times when adding a pref, less succinct code), but also over there those have been weighed & deemed acceptable tradeoffs. That's fine, and there certainly are benefits to this approach, so I wasn't really doing anything more than venting. Apologies for taking it out on you and your patch :)
![]() |
Assignee | |
Comment 5•7 years ago
|
||
The rebuild time is regrettable. As for succinctness: this reduces the number of lines of code. Perhaps you are referring to the length of the getter name?
(In reply to Nicholas Nethercote [:njn] from comment #5)
> The rebuild time is regrettable. As for succinctness: this reduces the
> number of lines of code. Perhaps you are referring to the length of the
> getter name?
Yep :)
![]() |
Assignee | |
Comment 7•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/a7ebb62677a6e8ecff0d86953c4c36c27f78a35c
Bug 1448220 - Convert all network predictor VarCache prefs to the new StaticPrefList form. r=hurley
Comment 8•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in
before you can comment on or make changes to this bug.
Description
•