-
Notifications
You must be signed in to change notification settings - Fork 742
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert from String to Supplier<Type> only once per string
Iterables.transform is fairly expensive if you're going to iterate over the result more than once, because it performs the transformation each time. The speedup from this is pretty insignificant, but it's not nothing. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=259012455
- Loading branch information
1 parent
9f0ec32
commit 73c063a
Showing
1 changed file
with
4 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters