commit | 94b400d56bb246d54a1606a3ca3f0b2157acc1fa | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Tue Nov 05 19:19:02 2013 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Tue Nov 05 19:43:27 2013 +0000 |
tree | 477d5e385d9df41f04cb0a5b78a3f184b1242cb6 | |
parent | 6b98c91275d4361d1b74effad36995cc2d687a55 [diff] |
Improve Mir2Lir::GenIntrinsic() performance. GenIntrinsic() spends most time just comparing the method's declaring class name to the class names we're looking for without hiting anything. Reduce the number of comparisons by splitting the path for java.lang.* and other calls. Change-Id: Ic0d42ee2bde9e86b602b421c11fb2315de774a29