Skip to content

Commit

Permalink
[Fizz] Simplify ReplayNode data structure (facebook#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.
  • Loading branch information
sebmarkbage authored and AndyPengc12 committed Apr 15, 2024
1 parent c8a3df9 commit ce9770f
Show file tree
Hide file tree
Showing 2 changed files with 265 additions and 393 deletions.
Loading

0 comments on commit ce9770f

Please sign in to comment.