[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] Handling multiple args in types.db
From: |
megane |
Subject: |
Re: [Chicken-hackers] Handling multiple args in types.db |
Date: |
Sat, 27 Apr 2019 07:33:49 +0300 |
User-agent: |
mu4e 1.0; emacs 25.1.1 |
Peter Bex <address@hidden> writes:
> On Fri, Apr 26, 2019 at 10:06:15PM +0300, megane wrote:
>> Hi folks!
>>
>> Do you think that adding specializations for multiple argument calls to
>> mathematical functions is worth it? Like this:
>
> We have a rewrite for this already, I wonder why it's not being applied.
>
> That's (rewrite 'scheme#+ 19) in c-platform.scm (on line 728).
I see. That is handled in optimizer.scm (line 1221). The optimizer runs
after the scrutinizer and the scrutinizer only runs once. And it's the
scrutinizer that installs the specializations in types.db.
>
> Cheers,
> Peter
- [Chicken-hackers] Handling multiple args in types.db, megane, 2019/04/26
- Re: [Chicken-hackers] Handling multiple args in types.db, Peter Bex, 2019/04/26
- Re: [Chicken-hackers] Handling multiple args in types.db,
megane <=
- Re: [Chicken-hackers] Handling multiple args in types.db, Peter Bex, 2019/04/27
- Re: [Chicken-hackers] Handling multiple args in types.db, megane, 2019/04/27
- Re: [Chicken-hackers] Handling multiple args in types.db, Peter Bex, 2019/04/27
- Re: [Chicken-hackers] Handling multiple args in types.db, megane, 2019/04/27
- Re: [Chicken-hackers] Handling multiple args in types.db, felix . winkelmann, 2019/04/27
- Re: [Chicken-hackers] Handling multiple args in types.db, felix . winkelmann, 2019/04/27