adjustable array vs hash-table



I could use a hash-table or an adjustable array. Considering the keys
of the hash-table are equal to indices in the array 0.1.2.3.4...
functionality is the same. So which one is more efficient at
a. Expanding when new elements are added when container can't hold
them
b. Accessing elements via index / key.

thanks
Slobodan
.



Relevant Pages

  • Re: Great SWT Program
    ... orthogonal to whether or not a program has a decent user interface. ... A few also knew the arrow keys existed. ... "useful functionality required to qualify the application as an IDE". ... Or maybe you simply use "real text editor" as a synonym for IDE; ...
    (comp.lang.java.programmer)
  • Re: Great SWT Program
    ... function keys, etc.). ... to repeat the insertion command on subsequent lines. ... functionality, ... oftentimes one typo is all that separates you from disaster. ...
    (comp.lang.java.programmer)
  • Re: Great SWT Program
    ... A few also knew the arrow keys existed. ... "useful functionality required to qualify the application as an IDE". ... called by all applications -- except that with the Unix model you ...
    (comp.lang.java.programmer)
  • Peter H. Coffin (is: Re: Good Keys for Macros?)
    ... >> macros with some reasonable assuredness that the next version ... >> of Mutt won't assign those places to new functionality? ... >> attached to functionality I don't think I'll use? ... > It's unlikely that the function keys are going to be mapped by ...
    (comp.mail.mutt)
  • Re: CTRL+ENTER no longer functions
    ... My CTRL+ENTER keys (which adds www.???.com to a word in the ... How do I get back this functionality? ... most recent service packs and patches ... > installation of any service pack, ...
    (microsoft.public.windows.inetexplorer.ie6.browser)