commit | c64a6f01cb2dd7cda8bcac79ba04b6ed454d65c4 | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Mon Jan 30 13:00:02 2012 -0800 |
committer | Glenn Kasten <gkasten@google.com> | Mon Jan 30 13:00:02 2012 -0800 |
tree | d2264340942bdfbaec813e7a32728f5e1930a8e5 | |
parent | acabf488674e0f5a6d0fa6d1da5e36b417a681a0 [diff] |
Improve performance for sp<> on stack Combine default constructor for sp<> immediately followed by assignment, as the reference-counting is relatively slow. Also return sp<> directly rather than via local variable, for the same reason. Change-Id: If55931f1e407994f6591ddde41b53db72fb4fc40