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

Re: The Size/Speed Paradox



On Sat, 15 Apr 2000, Shlomi Fish wrote:

> The question is why the wide-integer based program is slower because
> obviously my Pentium 166 MHz processor takes less time for 32-bit or
> 16-bit integer computations and memory access than for 8-bit
> ones. My best guess so far is that the majority of the time is spent
> storing and searching for states, and because the char storage occupies
> less space, that it is considerably faster.

The Pentium's cache is 8 bits wide (IIRC)... does everything make
sense now? ;) 

-- crisk
                               ._ 
    crisk@netvision.net.il  ._/-======\\\       _          
                            |_.---------`-------^-----------------._
                         
The biggest lies: 
 11. I never inhaled.



=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il