-
Notifications
You must be signed in to change notification settings - Fork 413
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 various helper functions from Action_builder modules #9132
Conversation
d93a5d2
to
2cc50a6
Compare
Signed-off-by: Andrey Mokhov <amokhov@janestreet.com>
2cc50a6
to
ef9f8a5
Compare
Btw, this clean up includes simplifying the implementation of Internal benchmarks show consistent improvements in build times (1-2%) and allocations (up to 1%). |
Signed-off-by: Andrey Mokhov <amokhov@janestreet.com>
Actually, I've just realised that |
Signed-off-by: Andrey Mokhov <amokhov@janestreet.com>
Signed-off-by: Andrey Mokhov <amokhov@janestreet.com>
I've removed |
Signed-off-by: Andrey Mokhov <amokhov@janestreet.com>
I noticed that internally we had a bunch of incorrect uses of |
dc21fba
to
02f22ba
Compare
Signed-off-by: Andrey Mokhov <amokhov@janestreet.com>
02f22ba
to
6e1b343
Compare
@snowleopard do you have more changes pending or should I update the rules? |
There are a couple of more removals I'm working on. I'll ping you in the next couple of days! |
Signed-off-by: Andrey Mokhov <amokhov@janestreet.com>
04e2ebc
to
6492d1f
Compare
Signed-off-by: Andrey Mokhov <amokhov@janestreet.com>
Signed-off-by: Andrey Mokhov <amokhov@janestreet.com>
@rgrinberg OK, I think I'm done. My next step is changing the implementation of |
@snowleopard I think you forgot to push |
Signed-off-by: Andrey Mokhov <amokhov@janestreet.com>
@rgrinberg Oops, thanks. I added |
Completed in a series of PR's culminating in #9559 |
@rgrinberg As discussed, I'm cleaning up the implementation of
Action_builder
modules, so I'm deleting all inessential helpers that can be easily implemented on the rules side.Could you take over from here, re-adding the helpers in Dune rules? It's probably easiest to extend the
Action_builder
module when importingDune_engine
in the rules by just copying the helpers I deleted.