Click here to Skip to main content
15,896,063 members
Home / Discussions / C#
   

C#

 
GeneralRe: Hashtable v.s. Dictionary Pin
Guffa9-Jun-08 21:25
Guffa9-Jun-08 21:25 
GeneralRe: Hashtable v.s. Dictionary Pin
George_George11-Jun-08 1:19
George_George11-Jun-08 1:19 
AnswerRe: Hashtable v.s. Dictionary Pin
Alan Balkany6-Jun-08 3:48
Alan Balkany6-Jun-08 3:48 
GeneralRe: Hashtable v.s. Dictionary Pin
George_George8-Jun-08 22:51
George_George8-Jun-08 22:51 
GeneralRe: Hashtable v.s. Dictionary Pin
Alan Balkany9-Jun-08 3:11
Alan Balkany9-Jun-08 3:11 
GeneralRe: Hashtable v.s. Dictionary Pin
George_George9-Jun-08 17:01
George_George9-Jun-08 17:01 
GeneralRe: Hashtable v.s. Dictionary Pin
Alan Balkany10-Jun-08 3:12
Alan Balkany10-Jun-08 3:12 
GeneralRe: Hashtable v.s. Dictionary Pin
George_George11-Jun-08 1:22
George_George11-Jun-08 1:22 
Thanks Alan,


1.

Alan Balkany wrote:
A hashtable has a fixed size. When it gets too full its performance degrades, so one strategy is to then create a bigger one, and reinsert all the elements into it.


I am confused what do you mean fixed size. I think from developer point of view, we can insert as much elements as possible into Hashtable, so no feel of limitation of fixed size. Any more descriptions or pseudo code please?

2.

Alan Balkany wrote:
When the hashtable has to grow regularly, it can increase the time for insertion to O(n) or higher, depending on how often it happens.


What means grow regularly? Why the performance degrades? Could you provide more description please?

(reference document link is also ok, I am interested in this topic)


regards,
George
GeneralRe: Hashtable v.s. Dictionary Pin
Alan Balkany11-Jun-08 3:23
Alan Balkany11-Jun-08 3:23 
GeneralRe: Hashtable v.s. Dictionary Pin
George_George11-Jun-08 3:33
George_George11-Jun-08 3:33 
GeneralRe: Hashtable v.s. Dictionary Pin
Alan Balkany11-Jun-08 3:36
Alan Balkany11-Jun-08 3:36 
GeneralRe: Hashtable v.s. Dictionary Pin
George_George11-Jun-08 16:40
George_George11-Jun-08 16:40 
GeneralRe: Hashtable v.s. Dictionary Pin
Alan Balkany12-Jun-08 3:07
Alan Balkany12-Jun-08 3:07 
GeneralRe: Hashtable v.s. Dictionary Pin
George_George12-Jun-08 3:13
George_George12-Jun-08 3:13 
GeneralRe: Hashtable v.s. Dictionary Pin
Alan Balkany12-Jun-08 3:17
Alan Balkany12-Jun-08 3:17 
GeneralRe: Hashtable v.s. Dictionary Pin
George_George12-Jun-08 23:26
George_George12-Jun-08 23:26 
GeneralRe: Hashtable v.s. Dictionary Pin
Alan Balkany13-Jun-08 3:14
Alan Balkany13-Jun-08 3:14 
GeneralRe: Hashtable v.s. Dictionary Pin
George_George15-Jun-08 19:46
George_George15-Jun-08 19:46 
GeneralRe: Hashtable v.s. Dictionary Pin
Alan Balkany16-Jun-08 3:04
Alan Balkany16-Jun-08 3:04 
GeneralRe: Hashtable v.s. Dictionary Pin
George_George17-Jun-08 23:24
George_George17-Jun-08 23:24 
QuestionInstallation file Pin
Genius.Boy5-Jun-08 16:01
Genius.Boy5-Jun-08 16:01 
AnswerRe: Installation file Pin
Gareth H5-Jun-08 16:08
Gareth H5-Jun-08 16:08 
GeneralRe: Installation file Pin
Genius.Boy5-Jun-08 17:00
Genius.Boy5-Jun-08 17:00 
Questionsetting custom file attribues in C# Pin
RodEffect5-Jun-08 15:46
RodEffect5-Jun-08 15:46 
AnswerRe: setting custom file attribues in C# Pin
RodEffect9-Jun-08 20:46
RodEffect9-Jun-08 20:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.