commit | 6c2b86ea5347883564cf4450adbe79922bd8b458 | [log] [tgz] |
---|---|---|
author | David Srbecky <dsrbecky@google.com> | Mon Oct 15 12:57:20 2018 +0100 |
committer | David Srbecky <dsrbecky@google.com> | Mon Oct 15 22:40:56 2018 +0100 |
tree | f39d824d8cf0744303356874cf7d8e28e9a801ae | |
parent | e7019db7f0dce1bbad836396710c792fd39593fc [diff] |
Cache the ImtTable index in the interpreter. The index is fairly expensive to calculate; cache it. This makes the interpreter 1% faster on average (golem; arm64), with some benchmarks being up to 15% faster. Test: test.py -b --interpreter --host Change-Id: If77340967148254c47974538c3ebf051a055d4b0