-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix lazy serialization performance in pathological case
Summary: `rewriteDouble()` currently walks the whole output queue, which means in a pathological case of serializing container of lazy objects we get accidentally quadratic performance. Reviewed By: luciang Differential Revision: D44607256 fbshipit-source-id: 4072a1f76c97d37089aa97b1f419d78a3701a38b
- Loading branch information
1 parent
4076522
commit b8b3ed5
Showing
1 changed file
with
25 additions
and
0 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