commit | f38ea80594ad9cc0d68fe88a1dcfba6c7f70705c | [log] [tgz] |
---|---|---|
author | Hiroshi Yamauchi <yamauchi@google.com> | Tue Aug 27 13:04:26 2013 -0700 |
committer | Hiroshi Yamauchi <yamauchi@google.com> | Wed Sep 04 15:46:55 2013 -0700 |
tree | 56df769cfa1b4689545984aec07864e814be0754 | |
parent | 35a41fd2d16b760ba3b783d6f01f80cd719a121a [diff] |
A char array copy optimization (art). - Based on measurements, copy char by char for arrays of length <= 64. - With this change, the Ritz MemAllocBench got ~25% faster on Nexus 4 and ~20% faster on host. - This change only handles arraycopy calls in the core libraries and char arrays with the rest future work. Bug: 7103825 Change-Id: If536f9ea68ecf277b604199130d2060c446f640c