I'd be very surprised if garbage collection can take that long, but neither
can I imagine what else it might be doing.

Henry Rich

On Sun, Oct 9, 2022, 1:15 PM Raul Miller <[email protected]> wrote:

> https://rosettacode.org/wiki/Countdown#J
>
>    task''
> terms: 4 7 8 9 10 10
> target: 300
> #solutions: 1213
> for example: (10+(9*10))*((4+7)-8)
>
> The #solutions line takes approaching 20 seconds. That's not the problem
> here.
>
> The 'for example' line takes several seconds in J903 (and J904). And
> the expression is
>    echo 'for example: ',;{.a
>
> The only thing I can think of is that this time is occupied by garbage
> collection.
>
> FYI,
>
> --
> Raul
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to