[m-dev.] Feedback on removal of pragma fact-table

Julien Fischer jfischer at opturion.com
Wed Apr 8 01:42:17 AEST 2015


Hi Zoltan.

On Wed, Apr 8, 2015 at 12:33 AM, Zoltan Somogyi <zoltan.somogyi at runbox.com>
wrote:

>
>
> On Tue, 7 Apr 2015 20:15:47 +1000, Julien Fischer <jfischer at opturion.com>
> wrote:
> > We (i.e the Mercury developers) will also need to take a look at the code
> > that's causing the problem, since
> > it should be possible to reduce its stack consumption.
>
> The stack is consumed by read_item_loop in prog_io.m. It should be
> possible to use the standard two-level loop technique to free stack
> frames periodically, say every 1000th item. However, since it is
> not urgent, I would prefer that this not be done, since in my work
> on the item list, I have replaced this code already, so any other
> change to it would cause conflicts.
>

That ok; I can adjust the reserve stack size on 32-bit Windows for now.
It should probably be higher than the (very low) default in any case.

Cheers,
Julien.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/developers/attachments/20150408/f0c0cc98/attachment.html>


More information about the developers mailing list