aboutsummaryrefslogtreecommitdiffhomepage
path: root/LICENSE.txt
diff options
context:
space:
mode:
authorGravatar Michajlo Matijkiw <michajlo@google.com>2016-07-13 21:49:42 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2016-07-14 11:12:55 +0000
commit9f1159d255075fb8427076eb60fa5613fa0845ca (patch)
tree8d7bf8ad4a6e029a030de8d4a3a02396e8223e7a /LICENSE.txt
parent8e1130f625d642619f929ebac4ebb277bdf0f05b (diff)
Memoize TestSize.name().toLowerCase() -> TestSize mappings
Saves some needless garbage generation. We expect TestSize#getTestSize(String) to always pass in a lowercase value, which we promptly change to uppercase for the enum lookup. Instead memoize the lowercase -> TestSize mapping to avoid this call. -- MOS_MIGRATED_REVID=127362499
Diffstat (limited to 'LICENSE.txt')
0 files changed, 0 insertions, 0 deletions