|
![](/i/fill.gif) |
On 25-8-2010 17:28, Darren New wrote:
> Warp wrote:
>> Darren New <dne### [at] san rr com> wrote:
>>> andrel wrote:
>>>> That is why they are so much cheaper than real multiplicatons and
>>>> division.
>>
>>> If you're using a compiler where a shift by a constant is cheaper
>>> than a division by a constant, you're in trouble.
>>
>> He was talking about hardware, not about compilers.
>
> Yes, I knew that. :-)
>
Even so I do not understand the remark. Do you mean that a compiler
should not be aware what is cheaper (in time) to do the same thing? Or
that that is not the case anymore, in which case I beg to differ.
Post a reply to this message
|
![](/i/fill.gif) |