Dear Jsoftware,

Is there any chance that a future J version would optimize the monad
u/\. for any verb u to make only linear number of calls to u instead
of quadratic?

I know this would break the case when u has side effects, but I still
believe this would be a useful feature (if documented), for it would
help in lots of cases but break only little code.

As a model, for any verb u and noun y, (u/\. y) could be executed as
if it was (>,(];~>@[u>@{...@])/<"_1 y).

Ambrus
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to