Click here to Skip to main content
15,501,747 members
Home / Discussions / C#
   

C#

 
GeneralRe: Dictionary<K,V> performance based on Key Type Pin
SledgeHammer0121-Aug-14 20:07
MemberSledgeHammer0121-Aug-14 20:07 
GeneralRe: Dictionary<K,V> performance based on Key Type Pin
Matty2221-Aug-14 20:11
MemberMatty2221-Aug-14 20:11 
AnswerRe: Dictionary<K,V> performance based on Key Type Pin
Matty2221-Aug-14 20:18
MemberMatty2221-Aug-14 20:18 
GeneralRe: Dictionary<K,V> performance based on Key Type Pin
SledgeHammer0121-Aug-14 20:53
MemberSledgeHammer0121-Aug-14 20:53 
GeneralRe: Dictionary<K,V> performance based on Key Type Pin
Matty2221-Aug-14 20:58
MemberMatty2221-Aug-14 20:58 
GeneralRe: Dictionary<K,V> performance based on Key Type Pin
Matty2221-Aug-14 21:01
MemberMatty2221-Aug-14 21:01 
GeneralRe: Dictionary<K,V> performance based on Key Type Pin
SledgeHammer0121-Aug-14 21:17
MemberSledgeHammer0121-Aug-14 21:17 
GeneralRe: Dictionary<K,V> performance based on Key Type Pin
Matty2221-Aug-14 21:45
MemberMatty2221-Aug-14 21:45 
No probs. Was just making sure you're aware that release mode + no debugger can make substantial impact
on simple synthetic tests like this. But sounds like you are Smile | :)

I can't think of any other obvious way to improve the lookup performance further.

The inbuilt dictionary is pretty fast. It's often difficult to beat.

I've made some dictionary like structures that are faster GenericHashTrie<t> for example but they have significant downsides compared to the generic dictionary.
SuggestionRe: Dictionary<K,V> performance based on Key Type Pin
Richard Deeming22-Aug-14 3:25
mveRichard Deeming22-Aug-14 3:25 
AnswerRe: Dictionary<K,V> performance based on Key Type Pin
Rob Philpott22-Aug-14 1:10
MemberRob Philpott22-Aug-14 1:10 
QuestionNeed help on using sync framework for devices Pin
krishnapnv21-Aug-14 18:05
Memberkrishnapnv21-Aug-14 18:05 
AnswerRe: Need help on using sync framework for devices Pin
Eddy Vluggen22-Aug-14 6:12
professionalEddy Vluggen22-Aug-14 6:12 
QuestionDecoding method Pin
jojoba2021-Aug-14 5:36
Memberjojoba2021-Aug-14 5:36 
GeneralRe: Decoding method Pin
Richard MacCutchan21-Aug-14 5:46
mveRichard MacCutchan21-Aug-14 5:46 
GeneralRe: Decoding method Pin
harold aptroot21-Aug-14 5:46
Memberharold aptroot21-Aug-14 5:46 
GeneralRe: Decoding method Pin
PIEBALDconsult21-Aug-14 5:55
professionalPIEBALDconsult21-Aug-14 5:55 
GeneralRe: Decoding method Pin
Bernhard Hiller21-Aug-14 22:43
MemberBernhard Hiller21-Aug-14 22:43 
GeneralRe: Decoding method Pin
PIEBALDconsult22-Aug-14 4:20
professionalPIEBALDconsult22-Aug-14 4:20 
QuestionRe: Decoding method Pin
jojoba2021-Aug-14 7:42
Memberjojoba2021-Aug-14 7:42 
AnswerRe: Decoding method Pin
OriginalGriff21-Aug-14 9:04
mveOriginalGriff21-Aug-14 9:04 
QuestionRe: Decoding method Pin
jojoba2021-Aug-14 10:45
Memberjojoba2021-Aug-14 10:45 
AnswerRe: Decoding method Pin
Eddy Vluggen21-Aug-14 10:53
professionalEddy Vluggen21-Aug-14 10:53 
AnswerRe: Decoding method Pin
Bernhard Hiller21-Aug-14 22:46
MemberBernhard Hiller21-Aug-14 22:46 
Questionsplit string into line C# Pin
Member 1054819721-Aug-14 4:05
MemberMember 1054819721-Aug-14 4:05 
AnswerRe: split string into line C# Pin
OriginalGriff21-Aug-14 5:07
mveOriginalGriff21-Aug-14 5:07 

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.