Search:

Type: Posts; User: copeg

Search: Search took 0.16 seconds.

  1. Replies
    12
    Views
    2,026

    Re: Map implementation.

    If implemented correctly and with minimum number of collisions, SOME of a Map's methods are constant (or approximately constant) time. Regardless of 'what you heard', why not prove it to yourself? A...
  2. Replies
    12
    Views
    2,026

    Re: Map implementation.

    Well for what its worth, that is not how to implement a Map. The advantage of a Map is that it provides constant time performance for its lookup/insert/delete methods - not linear time performance (a...
  3. Replies
    12
    Views
    2,026

    Re: Map implementation.

    As helloworld mentioned, why try and reinvent the wheel? There are already Map implementations that should be more than sufficient in most contexts (HashMap, LinkedHashMap, TreeMap....), or rethink...
Results 1 to 3 of 3