Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Issue 17802: Inline the TimeDelta::From* construction functions. (Closed)

Created:
11 years, 11 months ago by Dean McNamee
Modified:
9 years, 7 months ago
Reviewers:
brettw, M-A Ruel
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Inline the TimeDelta::From* construction functions. With GCC, we don't have much hope of inlining unless the defintion is in the header. This should also hopefully allow the compiler to do things like constant folding on the multiplications, etc.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -30 lines) Patch
M base/time.h View 1 chunk +32 lines, -0 lines 0 comments Download
M base/time.cc View 1 chunk +0 lines, -30 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Dean McNamee
11 years, 11 months ago (2009-01-13 15:05:42 UTC) #1
M-A Ruel
11 years, 11 months ago (2009-01-13 15:08:27 UTC) #2
If this is what it takes... lgtm

Powered by Google App Engine
This is Rietveld 408576698