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

mfc macro optimization of the tailing v = for-emuns #9

Open
SerhiyShamshetdinov opened this issue Jul 26, 2021 · 0 comments
Open

mfc macro optimization of the tailing v = for-emuns #9

SerhiyShamshetdinov opened this issue Jul 26, 2021 · 0 comments
Labels
tech debt Technical debt

Comments

@SerhiyShamshetdinov
Copy link
Owner

SerhiyShamshetdinov commented Jul 26, 2021

DO AFTER #10

Scope (class, macro, etc.)
Postprocessing of TmsExtracted (of 1 Monadic Flow for)

What may be better or simplified?
build more optimal for-comprehansion of the Monadic Flow Type (without tailing 'v = ' for-enums).

Describe the solution
For the current mfc implementation with one monadic flow for: after the flattening result do postprocessing.
Do seq of tailing for v = optimization: move ones to the start of yield: yieldStats (new: see other issue ?) in each forCollector ...

This keeps semantic of the macro unchanged but makes produced code more effective.

Tests
should pass without changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech debt Technical debt
Projects
None yet
Development

No branches or pull requests

1 participant