chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH][5] numbers integration


From: Alaric Snell-Pym
Subject: Re: [Chicken-hackers] [PATCH][5] numbers integration
Date: Wed, 11 Feb 2015 10:52:04 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130713 Thunderbird/17.0.7

On 09/02/15 14:52, Peter Bex wrote:
> On Mon, Feb 09, 2015 at 11:40:56PM +0900, Alex Shinn wrote:
>> On Mon, Feb 9, 2015 at 3:22 AM, Peter Bex <address@hidden> wrote:
>>
>>> Hello CHICKEN hackers,
>>>
>>> I finally finished integrating the code from the numbers egg into CHICKEN
>>> 5!
>>>
>>
>> Wow, nice work.
>
> Thanks, everyone :)
>
>> Personally I'd be more than happy to take the performance
>> hit on this so long as I can rely on fx operations and/or
>> (declare fixnum-arithmetic) to recover the original performance.
>
> You can; I didn't change any of those.  The "fixnum mode" probably
> still works, too (as in "(declare fixnum)"), but I didn't test it.

I concur with Alex; people who need numeric performance are no strangers
to special compiler flags, and improving the correctness and ease of use
of the general case must take priority.

Also, with it all integrated and bugs kicked out, we will be free to
look at micro-optimisations of the code in future; I'm assuming we may
be able to do something with range analysis to prove the fixnuminess of
some numbers, and specialisation on fixnums in future.

>
> Cheers,
> Peter
>

Great work, Peter!

ABS

--
Alaric Snell-Pym
http://www.snell-pym.org.uk/alaric/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]