If the return of f is known (through inlining or approximation of f) to be (or not to be) a floating point value, the Pmakearray primitive (implemented with a C stub testing the tag of its argument) could be replaced by the appropriate Pmakeblock(Mutable)
If the return of
f
is known (through inlining or approximation off
) to be (or not to be) a floating point value, the Pmakearray primitive (implemented with a C stub testing the tag of its argument) could be replaced by the appropriatePmakeblock(Mutable)
See https://github.com/OCamlPro/flambda-task-force/issues/160