summaryrefslogtreecommitdiff
path: root/libs/utils/Threads.cpp
diff options
context:
space:
mode:
author Jeff Brown <jeffbrown@google.com> 2012-03-16 14:45:49 -0700
committer Jeff Brown <jeffbrown@google.com> 2012-03-16 16:21:21 -0700
commite6d77c593d1a25b45c23bf9292ec7ee09fc14b6e (patch)
tree7246b3be522780008cf90a2ce112bd70c52e344d /libs/utils/Threads.cpp
parent599ebfd48d43933e2edcfd4f18a0b1a9a9d7ff38 (diff)
Add traits to common utils data structures.
Many of our basic data structures are trivially movable using memcpy() even if they are not trivially constructable, destructable or copyable. It's worth taking advantage of this *ahem* trait. Adding trivial_move_trait to String16 reduces appt running time on frameworks/base/core/res by 40%! Change-Id: I630a1a027e2d0ded96856e4ca042ea82906289fe
Diffstat (limited to 'libs/utils/Threads.cpp')
0 files changed, 0 insertions, 0 deletions