-
Notifications
You must be signed in to change notification settings - Fork 21.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fx] use a linked list for nodes (#45708)
Summary: Pull Request resolved: #45708 This makes it possible to define reasonable semantics for what happens when a node in the list is deleted. In particular the iteration over nodes will continue at the node that was after the deleted node _when it was deleted_. If the new node is also deleted, we skip it and, continue to the node after it. Eventually we either reach a node still in the list or we reach the end of the list. Test Plan: Imported from OSS Reviewed By: jamesr66a Differential Revision: D24089516 Pulled By: zdevito fbshipit-source-id: d01312d11fe381c8d910a83a08582a2219f47dda
- Loading branch information
1 parent
31ee5d8
commit 88dcb95
Showing
3 changed files
with
134 additions
and
45 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
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