Best search algorithm to find condition within a range

jonas.thornvall at gmail.com jonas.thornvall at gmail.com
Wed Apr 8 21:36:20 CEST 2015


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.



More information about the Python-list mailing list