diff options
author | 2016-07-13 21:49:42 +0000 | |
---|---|---|
committer | 2016-07-14 11:12:55 +0000 | |
commit | 9f1159d255075fb8427076eb60fa5613fa0845ca (patch) | |
tree | 8d7bf8ad4a6e029a030de8d4a3a02396e8223e7a /CONTRIBUTING.md | |
parent | 8e1130f625d642619f929ebac4ebb277bdf0f05b (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 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions