Chromium Code Reviews
DescriptionInline hot ctor/dtors for struct-like gfx:: geometry types
This inlines the ctors and (empty) dtors for gfx::PointF, SizeF and RectF. On
a ToT chromium mac release build, inlining these is a 8.5% speedup on cc_perftests.
Based on profiling data from instruments inlining QuadF would be a speedup as well,
but the chromium-style plugin thinks it's too complex (even though the dtor has no
code).
BUG=
NOTRY=true (yoda style)
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170378
Patch Set 1 #Patch Set 2 : also inline int size/point/rect #
Total comments: 3
Patch Set 3 : fix style issues #
Messages
Total messages: 11 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||