Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove all Mid transforms #310

Merged
merged 1 commit into from
Apr 10, 2021
Merged

remove all Mid transforms #310

merged 1 commit into from
Apr 10, 2021

Conversation

Fil
Copy link
Contributor

@Fil Fil commented Apr 9, 2021

XMid => X etc

It makes for simpler code, and simpler to use; what's lost is the original X in stackX, but it's never used (and can be obtained by X2-X1).

It makes for simpler code, and simpler to use; what's lost is the original X in stackX, but it's never used (and can be obtained by X2-X1).
@Fil Fil requested a review from mbostock April 9, 2021 12:43
@mbostock
Copy link
Member

mbostock commented Apr 9, 2021

Am I right that this mid channel is not computed if it’s not needed, because the channel is never materialized by the mark? If so, then I think this is fine.

Copy link
Member

@mbostock mbostock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed that the mid channel isn’t materialized if it isn’t consumed by the downstream mark, so this seems like a nice simplification. 👍

@mbostock mbostock merged commit 39b26e0 into main Apr 10, 2021
@mbostock mbostock deleted the no-mid branch April 10, 2021 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants