forked from tidyverse/dplyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor evaluation with lazy vec_chop() and dynamic mask (with activ…
…e bindings) (tidyverse#5520) * + lazy_vec_chop() * + dplyr_data_masks() * stack imbalmance * + env_resolved() to query which promise has been resolved * install .indices for top mask and individual masks * DataMask holds chops and masks * use individual data masks instead of meta data mask that gets updated all the time * filter() internals also not using metamask * No longer using DataMask$mask * abandon DataMask$forget() * remove DataMask$bindings * Abandon DataMask$which_used * Remove DataMask$used, as it can be recalculated based on $chops and $resolved * Abandon DataMask$resolved, instead just keep track of DataMask$all_vars and rely on chops for resolvedness * rm lazy_vec_chop.R, as this is only ever used inside DataMask. Make the data mask and pronouns internally * register symbols * use callables for as_data_pronoun() and new_data_mask() instead of R callbacks. * top can be NULL * back to only one mask, with active bindings instead of promises * comment why the [] is needed * comments about the parent envirinments of $chops and $mask in DataMask * use VECTOR_PTR_RO() and STRING_PTR_RO() * DPLYR_MASK_EVAL() takes single rgument * reset all_vars on mutate(=NULL) * NEWS bullet * update comment * remove warning from installChar() (tidyverse#5609) * remove warning from installChar()
- Loading branch information
1 parent
2b23229
commit 5b29134
Showing
17 changed files
with
395 additions
and
228 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
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.