[m-users.] Enable LCMC tail recursion optimization by default?

Dirk Ziegemeyer dirk at ziegemeyer.de
Fri Apr 22 16:46:07 AEST 2016


> Am 21.04.2016 um 04:51 schrieb Peter Wang <novalazy at gmail.com>:
> 
> On Wed, 20 Apr 2016 11:06:01 +0200, Dirk Ziegemeyer <dirk at ziegemeyer.de> wrote:
>> 3. LCMC option might help but doesn’t seem to be activated for the library/list module. (see mercury/library/Mercury.options)
> 
> --optimize-constructor-last-call is set in library/LIB_FLAGS
> 
> (There is probably a reason we have both Mercury.options and --flags.
> I don't know why.)

Thank you for this information. I was assuming wrongly during troubleshooting somehow, that --optimize-constructor-last-call was not enabled during compilation of the list library.

Sorry for the confusion.


More information about the users mailing list