-
Notifications
You must be signed in to change notification settings - Fork 27.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Task Edges Set/List (vercel/turborepo#8624)
### Description * Task children and dependencies are stored together in a single datastructure -> task edges * task edges is a map keyed by target task id and using a bitfield for common edges (child, output, cell 0) * removed lazy_remove_children feature flag -> this is always on now (Disabling it doesn't make sense as it negatively affects performance, we had the feature flag in case it it is broken, but seems fine) * When a task becomes Done, we use a Vec instead of a HashMap for better memory efficiency. It doesn't need to modified after that. ### Testing Instructions <!-- Give a quick description of steps to test your changes. --> --------- Co-authored-by: Benjamin Woodruff <benjamin.woodruff@vercel.com>
- Loading branch information
Showing
10 changed files
with
919 additions
and
279 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
Oops, something went wrong.