Best search algorithm to find condition within a range

Mark Lawrence breamoreboy at yahoo.co.uk
Wed Apr 8 16:28:00 EDT 2015


On 08/04/2015 20:36, jonas.thornvall at gmail.com wrote:
> Den onsdag 8 april 2015 kl. 21:28:34 UTC+2 skrev jonas.t... at gmail.com:
>> Den onsdag 8 april 2015 kl. 19:34:39 UTC+2 skrev Mel Wilson:
>>> On Wed, 08 Apr 2015 07:56:05 -0700, jonas.thornvall wrote:
>>>
>>>> There is no need for inventing a new set of characters representing
>>>> 32-bit numbers. You will not be able to learn them by heart anyway,
>>>> unless they build on a interpretation system binaries, decimals.
>>>
>>> See Jorge Luis Borges, _Funes the Memorious_.  Gotta keep up with the
>>> literature.
>>
>> One thing is true though the bigger the chunks the less operations doing add.
>> So arithmetic may turn out to be obsolete and replaced with search in lookuptables.
>
> When doing by hand and working within the digitspace of a single decimal digit like 3+4 the operation is implicit. You do not really add anything you use a lookup table.
>
> But if you take an expression like 193+169, most people perform the arithmetic. Unless they do not happen to be your favourit numbers and you learnt the sum by heart.
>
> Top down or bottom up is basicly the choices.
>

Are you trolling or do you simply not have the faintest idea?

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list