Skip to content

Commit

Permalink
[Fizz] Simplify ReplayNode data structure (#27395)
Browse files Browse the repository at this point in the history
The key is that instead of storing different tags of resumable points,
we just store if a replay node has any resumable slots and if that's at
the root `number` or if it has resumable slots by index.

This is a simpler and more compact format because we don't have to
separate the three Resume forms.

This helps deal with Postpone in fallbacks because it doesn't just
double all the cases.

DiffTrain build for [47fed69](47fed69)
  • Loading branch information
sebmarkbage committed Sep 21, 2023
1 parent 947dd44 commit 7b127bd
Show file tree
Hide file tree
Showing 8 changed files with 1,792 additions and 2,439 deletions.
2 changes: 1 addition & 1 deletion compiled/facebook-www/REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3c27178a2f2c74f14d90613028e3929e1f06d830
47fed6961f79e8c8388f5f11fe1a531b194bb4af
Loading

0 comments on commit 7b127bd

Please sign in to comment.