summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/11
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2011-12-15 14:38:29 -0800
committerGlenn Kasten <gkasten@google.com>2012-01-05 15:31:19 -0800
commitc1d810d1d0c38ba14d3f7d21d381bcbda649a0fb (patch)
tree6e8c6876cf21d86a7e73eeba9492a547a3bc6c8a /docs/html/sdk/api_diff/11
parenta8719ad9d53d3fe51e8031b2471e9558b8ef727f (diff)
Replace loop by __builtin_ctz
Using the builtin is faster on some platforms, for example on ARM it's 19 instructions instead of 13, and is O(1) instead of O(n). Of course, track creation is an inherently slow operation, so this doesn't matter much now. But if we add support for virtual tracks, then physical tracks will be allocated/freed more frequently. Also just on principle ... Change-Id: I3f590934092bd7a1869cbedbc7357928aa5cc8ff
Diffstat (limited to 'docs/html/sdk/api_diff/11')
0 files changed, 0 insertions, 0 deletions