in reply to Re: "Just use a hash": An overworked mantra?
in thread "Just use a hash": An overworked mantra?
Hash is not O(1)
Are you sure?
I'll grant that an individual lookup might consume greater than O(1) time, but in the aggregate it's fairly well established and accepted that hash operations are O(1) operations, where 'n' is the number of elements in the hash.
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: "Just use a hash": An overworked mantra?
by vkon (Curate) on Dec 23, 2011 at 20:52 UTC | |
by BrowserUk (Patriarch) on Dec 23, 2011 at 21:34 UTC | |
by vkon (Curate) on Dec 24, 2011 at 21:20 UTC | |
by JavaFan (Canon) on Dec 25, 2011 at 09:58 UTC | |
by BrowserUk (Patriarch) on Dec 24, 2011 at 22:08 UTC | |
by Anonymous Monk on Dec 24, 2011 at 12:38 UTC | |
by vkon (Curate) on Dec 24, 2011 at 21:11 UTC | |
by Anonymous Monk on Dec 24, 2011 at 21:25 UTC |