You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, [@@@ocaml.flambda_o3] appears to be a global setting. It would be nice if this could be done on a per-function or per-submodule basis (e.g. more like how [@inline always] works)
The text was updated successfully, but these errors were encountered:
This doesn't seem practical at the moment, as Flambda is not designed to run on functions independently.
If this is just a matter of tweaking parameters (-O2 vs -O3) it could be considered, but switching between classic mode and regular flambda mode is not possible at this level.
I imagine the use case is huge files (so not practical to compile with -O3) where a few functions are performance critical, is that also what you had in mind ?
Currently,
[@@@ocaml.flambda_o3]
appears to be a global setting. It would be nice if this could be done on a per-function or per-submodule basis (e.g. more like how[@inline always]
works)The text was updated successfully, but these errors were encountered: