Click here to Skip to main content
15,889,862 members
Home / Discussions / C#
   

C#

 
GeneralRe: memory footprint of Dictionary Pin
Guffa25-May-08 13:07
Guffa25-May-08 13:07 
GeneralRe: memory footprint of Dictionary Pin
George_George25-May-08 19:14
George_George25-May-08 19:14 
GeneralRe: memory footprint of Dictionary Pin
Guffa25-May-08 22:05
Guffa25-May-08 22:05 
GeneralRe: memory footprint of Dictionary Pin
George_George25-May-08 22:19
George_George25-May-08 22:19 
AnswerRe: memory footprint of Dictionary Pin
PIEBALDconsult17-May-08 5:50
mvePIEBALDconsult17-May-08 5:50 
GeneralRe: memory footprint of Dictionary Pin
George_George17-May-08 21:27
George_George17-May-08 21:27 
GeneralRe: memory footprint of Dictionary Pin
PIEBALDconsult18-May-08 5:01
mvePIEBALDconsult18-May-08 5:01 
GeneralRe: memory footprint of Dictionary Pin
George_George20-May-08 22:08
George_George20-May-08 22:08 
Thanks PIEBALDconsult,


Great! You always have wonderful answers which brings me further insights. Smile | :)

1.

For Dictionay, when we call Remove, the slots will still be there. When we add elements later, will the slots be resued?

2.

For Dictionary, for the slots which is empty (pointing to NULL reference) because of removed elements, are they avaliable to be reused for any new inserted elements or the slots are binded to special key hash value (which special key element can reuse)?

3.

PIEBALDconsult wrote:
trimming the excess may be a good idea


Do you mean trim the empty slots? Which API in List class perform slot trim function? Smile | :)


regards,
George
QuestionHow can I ... Pin
maresp198217-May-08 1:03
maresp198217-May-08 1:03 
AnswerRe: How can I ... Pin
Christian Graus17-May-08 1:06
protectorChristian Graus17-May-08 1:06 
GeneralRe: How can I ... Pin
maresp198217-May-08 1:50
maresp198217-May-08 1:50 
GeneralRe: How can I ... [modified] Pin
#realJSOP17-May-08 2:26
mve#realJSOP17-May-08 2:26 
GeneralRe: How can I ... Pin
maresp198217-May-08 3:08
maresp198217-May-08 3:08 
GeneralRe: How can I ... Pin
#realJSOP17-May-08 3:13
mve#realJSOP17-May-08 3:13 
GeneralRe: How can I ... Pin
maresp198217-May-08 3:45
maresp198217-May-08 3:45 
GeneralRe: How can I ... Pin
#realJSOP17-May-08 4:07
mve#realJSOP17-May-08 4:07 
Questioncrawler Pin
Bhim Prakash Singh17-May-08 0:55
Bhim Prakash Singh17-May-08 0:55 
AnswerRe: crawler Pin
Christian Graus17-May-08 1:06
protectorChristian Graus17-May-08 1:06 
AnswerRe: crawler Pin
Abhijit Jana17-May-08 1:10
professionalAbhijit Jana17-May-08 1:10 
AnswerRe: crawler Pin
Michael Schubert17-May-08 4:03
Michael Schubert17-May-08 4:03 
AnswerRe: crawler Pin
Pete O'Hanlon17-May-08 9:15
mvePete O'Hanlon17-May-08 9:15 
Questionis there anyone to help me?? Pin
minmin200816-May-08 23:09
minmin200816-May-08 23:09 
AnswerRe: is there anyone to help me?? Pin
Christian Graus17-May-08 1:07
protectorChristian Graus17-May-08 1:07 
QuestionXML validation using DTD in C#.net Pin
sengottuvelud16-May-08 22:39
sengottuvelud16-May-08 22:39 
AnswerRe: XML validation using DTD in C#.net Pin
PIEBALDconsult17-May-08 7:32
mvePIEBALDconsult17-May-08 7:32 

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.