-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid pooling/reusing SingleRequest objects.
~90% of devices are now running on Art and won't get any benefit from this object pooling. It's very difficult to definitively determine when it's safe to recycle an object when it's used by multiple threads. The code simplification is worth the minor performance regression on dalvik devices. PiperOrigin-RevId: 263229952
- Loading branch information
1 parent
8a094e9
commit bee6348
Showing
2 changed files
with
51 additions
and
135 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
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