New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 613551 link

Starred by 4 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

Simple Cache: switch to non-static member initialisation universally

Project Member Reported by gavinp@chromium.org, May 20 2016

Issue description

During the review of https://codereview.chromium.org/1977863003/ , rdsmith pointed out that it's at times confusing to mix non-static member initialisation and ctor initialisation becausae you have to look in two places to ensure good coverage for all initialisations.

That change was out of scope for https://codereview.chromium.org/1977863003/ , and that CL had to use non-static member initialisation because it was initialising an array of bools.

Nevertheless, let's follow this up and make this code cleaner.
 

Comment 1 by gavinp@chromium.org, May 20 2016

Labels: Hotlist-GoodFirstBug

Comment 2 by mi...@micah.cc, May 22 2016

I'm interested in refactoring this and would be happy to work on it.

Comment 3 by gavinp@chromium.org, May 22 2016

Great! What can I do to help you get started?

My guess is that one CL each for the large classes makes sense, then a final CL for the smaller classes in the simple cache.

Comment 4 by gavinp@chromium.org, May 22 2016

Owner: gavinp@chromium.org
Status: Assigned (was: Available)
I notice you're not a project member yet, so I can't assign this bug to you. 

Micah, I'm assigning the bug to myself so that you can begin coding and be sure you won't be pre-empted by anyone else. Please let me know if you stop work on this, or if you aren't going to work on this, so I can return it to the free pool.

I look forward to reviewing your code! Thanks again.


Comment 5 by gavinp@chromium.org, May 22 2016

Cc: mi...@micahcc.org

Comment 6 by gavinp@chromium.org, May 22 2016

Cc: -mi...@micahcc.org mi...@micah.cc

Comment 7 by mi...@micah.cc, May 22 2016

Thanks Gavin! I've sent you some questions via email. I'll be sure to keep you up to date on the status of this patch.
Owner: morlovich@chromium.org
Cc: -rdsmith@chromium.org
Cc: chlily@chromium.org
Owner: ----
Status: Available (was: Assigned)

Sign in to add a comment