Re: adjustable array vs hash-table



In the ideal world computers would be so fast that we could do all our
programming with god given single linked list. But considering the
world is less than ideal and there's a huge difference between
program that answers within seconds and those that needs hours to
compute we have to step down from our pedestal and get our hands dirty
with optimized structures for certain job.
Maybe someday compilers will be so smart to create highly optimized
code by themselves but that day is not today. Mother nature might have
an enourmous time and/or processing power but we're just mortals, we
have to be practical in order to survive. I always start my coding
with plain simple lists, and move to specialized data structures only
if I must to. If a high level languages don't give me any choice my
hands would be bound. So I have to either live with slow code or code
in other language.

cheers
Slobodan
In theory, there is no difference between theory and practice. But, in
practice, there is.
-Jan L. A. van de Snepscheut
.



Relevant Pages

  • Re: strlen(), K+1: clarification
    ... That's good practice. ... don't know programming in general. ... Computational complexity theory is not about ... condition tests an invariant: ...
    (comp.programming)
  • Re: "Sorting" assignment
    ... If you only learn the beautiful side of programming, ... but won't work in practice'", Kant replied to certain of his critics ... elegance and beauty from the fact that we developed this algorithm ... edumocational theory in which the students shall try, ...
    (comp.programming)
  • Re: XP and Pair Programming
    ... look at their idealism from a bsuiness management perspective. ... Over 25 years i've used the pair technique quite a bit. ... Its a 'usable' practice if I had two not-so-knowlegeable people ... when you work out paired programming on a balance ...
    (comp.object)
  • Re: How to write a check
    ... English and American practice in having intersentence spaces a third ... Computer Programming_ ... copy" and even publishing houses are using off-the-shelf word ... in physics who don't know TeX or LaTeX. ...
    (alt.usage.english)
  • Re: Quality assurance for CNC programs - Help needed.
    ... someone's programming and with the way MTB's set up the machine/control. ... They are hired to design a machine tool, ... is unacceptable practice regardless of ... language - just as failure to take appropriate action when such errors ...
    (alt.machines.cnc)