Randy Smith (Not in Mondays)
2011/10/28 13:35:44
Nit's nit: For complex data types (i.e. most itera
Nit's nit: For complex data types (i.e. most iterators) defaulting to
pre-increment is better because it doesn't involve a copy. So I think it's
useful to be in the habit of using pre-increment when it doesn't matter. This
is just FYI; you're welcome to leave this code however you'd like.
benjhayden
2011/10/28 14:37:55
Yeah, but I'd rather initialize the counter to the
On 2011/10/28 13:35:44, rdsmith wrote:
> Nit's nit: For complex data types (i.e. most iterators) defaulting to
> pre-increment is better because it doesn't involve a copy. So I think it's
> useful to be in the habit of using pre-increment when it doesn't matter. This
> is just FYI; you're welcome to leave this code however you'd like.
Yeah, but I'd rather initialize the counter to the first value that will be
returned for clarity. If this changes to an ASN then I'll change it to
pre-increment and document the -1.
Issue 8401001: Fix history importing by delaying DownloadManager creation.
(Closed)
Created 9 years, 1 month ago by benjhayden
Modified 9 years, 1 month ago
Reviewers: Randy Smith (Not in Mondays), Miranda Callahan, jam
Base URL: http://git.chromium.org/git/chromium.git@trunk
Comments: 36