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

compute: simplify mz_join_core result computation #19667

Merged
merged 1 commit into from
Jun 14, 2023

Commits on Jun 5, 2023

  1. compute: simplify mz_join_core result computation

    Previously, the mz_join_core code wrapped the `result` closure into
    another `work_result` closure, to deal with the fact that matches from
    the `todo1` list had their value and diff fields swapped.
    
    Instead of having a closure to unswap the fields, we can simply pass
    them to the `Deferred` constructor in the correct order instead. That
    is, the `Deferred` constructor should always receive the cursor/storage
    from input 1 first and from input 2 second. If we make this change, no
    `work_result` closure is necessary and the code become easier to reason
    about.
    teskje committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    8b6451b View commit details
    Browse the repository at this point in the history