lmi
[Top][All Lists]
Advanced

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

Re: [lmi] [lmi-commits] valyuta/000 e9efb62: See 'README.branch'


From: Greg Chicares
Subject: Re: [lmi] [lmi-commits] valyuta/000 e9efb62: See 'README.branch'
Date: Sat, 22 Aug 2020 15:49:09 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

On 2020-08-15 16:48, Greg Chicares wrote:
[...]
> On 2020-08-14 23:54, Greg Chicares wrote:
>> On 2020-08-14 15:43, Vadim Zeitlin wrote:
>> We might even find that one is significantly faster than the other,
>> and I wouldn't be surprised if the silicon turns out to favor floating
>> point because it's been optimized to improve graphics performance.

Except maybe not.

>>> With an optimizing compiler,
>>> abstraction penalty should be at most a few percents and I'd expect it to
>>> be more than compensated by the gain of speed due to using integers instead
>>> of doubles.>>> (I'm agnostic on the question whether integers are faster 
>>> than doubles.
>> I did read some online discussions, but they were long on conjectures
>> and short on facts.)

Preliminary measurements suggest that integer math is faster,
perhaps by about fifteen percent:
  git diff HEAD valyuta/001 -- README.branch |grep fifteen
I didn't bother comparing the speed of 64-bit binaries yet.

As with the previous valyuta/000, this new branch needn't
be discussed; it reveals some rounding issues in master,
so the next step is to tackle those, in master.


reply via email to

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