Commit 39d8c873 authored by David Srbecky's avatar David Srbecky
Browse files

Optimize string comparisons in Class::FindClassMethod.

The method is relatively hot in non-quickend code.

Avoid full string comparisons by comparing the unicode lengths first.

Test: ./art/test.py -b -r --interpreter --host --64
Change-Id: Ib0aa7008ca36e3916967fe082948d16823b93e02
parent 1e152a60
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment