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

C#

 
GeneralRe: Control Size Pin
#realJSOP13-Dec-08 0:25
professional#realJSOP13-Dec-08 0:25 
GeneralRe: Control Size Pin
#realJSOP13-Dec-08 5:17
professional#realJSOP13-Dec-08 5:17 
GeneralRe: Control Size Pin
#realJSOP14-Dec-08 1:51
professional#realJSOP14-Dec-08 1:51 
QuestionDictionary Performance Question Pin
Jammer12-Dec-08 10:11
Jammer12-Dec-08 10:11 
AnswerRe: Dictionary Performance Question Pin
PIEBALDconsult12-Dec-08 10:51
mvePIEBALDconsult12-Dec-08 10:51 
GeneralRe: Dictionary Performance Question Pin
Jammer12-Dec-08 11:23
Jammer12-Dec-08 11:23 
AnswerRe: Dictionary Performance Question Pin
Guffa12-Dec-08 11:04
Guffa12-Dec-08 11:04 
GeneralRe: Dictionary Performance Question Pin
Jammer12-Dec-08 11:23
Jammer12-Dec-08 11:23 
Guffa wrote:
You should put whatever value you are matching on as the key in the dictionary, so that you don't have to loop through them.


Indeed, that's what I have done.


Guffa wrote:
A dictionary uses hash codes to quickly find items by key, so that is very much faster than looping through the data.


Of course! Its not going to be looping as such is it.


Guffa wrote:
I've never heard that. Case-sensetive culture-invariant comparison is faster than case-insensetive culture-dependent comparison, if that is what you mean.


Gotcha, thanks.


Questionformat disk [modified] Pin
LordZoster12-Dec-08 5:54
LordZoster12-Dec-08 5:54 
AnswerRe: format disk Pin
Giorgi Dalakishvili12-Dec-08 8:40
mentorGiorgi Dalakishvili12-Dec-08 8:40 
GeneralRe: format disk Pin
EliottA12-Dec-08 8:49
EliottA12-Dec-08 8:49 
GeneralRe: format disk Pin
LordZoster12-Dec-08 9:09
LordZoster12-Dec-08 9:09 
GeneralRe: format disk Pin
EliottA12-Dec-08 9:33
EliottA12-Dec-08 9:33 
GeneralRe: format disk Pin
Uwe Keim12-Dec-08 9:49
sitebuilderUwe Keim12-Dec-08 9:49 
GeneralRe: format disk Pin
LordZoster12-Dec-08 10:05
LordZoster12-Dec-08 10:05 
AnswerRe: format disk Pin
LordZoster14-Dec-08 23:12
LordZoster14-Dec-08 23:12 
QuestionHow to cast an object using its handle? Pin
MAP Tiger12-Dec-08 5:36
MAP Tiger12-Dec-08 5:36 
AnswerRe: How to cast an object using its handle? Pin
Mark Salsbery12-Dec-08 7:13
Mark Salsbery12-Dec-08 7:13 
GeneralRe: How to cast an object using its handle? Pin
MAP Tiger12-Dec-08 7:23
MAP Tiger12-Dec-08 7:23 
GeneralRe: How to cast an object using its handle? Pin
Mark Salsbery12-Dec-08 7:28
Mark Salsbery12-Dec-08 7:28 
GeneralRe: How to cast an object using its handle? Pin
MAP Tiger12-Dec-08 8:43
MAP Tiger12-Dec-08 8:43 
AnswerRe: How to cast an object using its handle? Pin
Dave Kreskowiak12-Dec-08 7:14
mveDave Kreskowiak12-Dec-08 7:14 
GeneralRe: How to cast an object using its handle? Pin
MAP Tiger12-Dec-08 7:27
MAP Tiger12-Dec-08 7:27 
GeneralRe: How to cast an object using its handle? Pin
Dave Kreskowiak12-Dec-08 8:24
mveDave Kreskowiak12-Dec-08 8:24 
QuestionMulticolor Text in Textbox OR Listbox Pin
Michael Fritzius12-Dec-08 5:23
professionalMichael Fritzius12-Dec-08 5:23 

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.