Click here to Skip to main content
15,904,652 members
Home / Discussions / C#
   

C#

 
AnswerRe: code for how to check if a file is encrypted in c# Pin
Richard MacCutchan22-Aug-14 3:17
mveRichard MacCutchan22-Aug-14 3:17 
QuestionWPF / EF & 'Audit' field updates Pin
cjb11022-Aug-14 2:40
cjb11022-Aug-14 2:40 
AnswerRe: WPF / EF & 'Audit' field updates Pin
Eddy Vluggen22-Aug-14 5:08
professionalEddy Vluggen22-Aug-14 5:08 
GeneralRe: WPF / EF & 'Audit' field updates Pin
cjb11022-Aug-14 5:27
cjb11022-Aug-14 5:27 
GeneralRe: WPF / EF & 'Audit' field updates Pin
Eddy Vluggen22-Aug-14 6:47
professionalEddy Vluggen22-Aug-14 6:47 
QuestionPlaying With Mouse Events Pin
Django_Untaken22-Aug-14 2:09
Django_Untaken22-Aug-14 2:09 
QuestionRe: Playing With Mouse Events Pin
Richard MacCutchan22-Aug-14 3:15
mveRichard MacCutchan22-Aug-14 3:15 
QuestionCreate & Download file runtime in MVC Pin
nitin_ion22-Aug-14 1:21
nitin_ion22-Aug-14 1:21 
AnswerRe: Create & Download file runtime in MVC Pin
Nathan Minier22-Aug-14 4:42
professionalNathan Minier22-Aug-14 4:42 
QuestionVS2010 crashes When Designer View Opens Pin
AmbiguousName21-Aug-14 20:43
AmbiguousName21-Aug-14 20:43 
AnswerRe: VS2010 crashes When Designer View Opens Pin
Bernhard Hiller21-Aug-14 21:27
Bernhard Hiller21-Aug-14 21:27 
GeneralRe: VS2010 crashes When Designer View Opens Pin
AmbiguousName21-Aug-14 22:24
AmbiguousName21-Aug-14 22:24 
GeneralRe: VS2010 crashes When Designer View Opens Pin
Rob Philpott22-Aug-14 0:05
Rob Philpott22-Aug-14 0:05 
QuestionDictionary<K,V> performance based on Key Type Pin
SledgeHammer0121-Aug-14 18:29
SledgeHammer0121-Aug-14 18:29 
AnswerRe: Dictionary<K,V> performance based on Key Type Pin
Matty2221-Aug-14 18:42
Matty2221-Aug-14 18:42 
GeneralRe: Dictionary<K,V> performance based on Key Type Pin
SledgeHammer0121-Aug-14 19:07
SledgeHammer0121-Aug-14 19:07 
GeneralRe: Dictionary<K,V> performance based on Key Type Pin
Matty2221-Aug-14 19:11
Matty2221-Aug-14 19:11 
AnswerRe: Dictionary<K,V> performance based on Key Type Pin
Matty2221-Aug-14 19:18
Matty2221-Aug-14 19:18 
GeneralRe: Dictionary<K,V> performance based on Key Type Pin
SledgeHammer0121-Aug-14 19:53
SledgeHammer0121-Aug-14 19:53 
GeneralRe: Dictionary<K,V> performance based on Key Type Pin
Matty2221-Aug-14 19:58
Matty2221-Aug-14 19:58 
GeneralRe: Dictionary<K,V> performance based on Key Type Pin
Matty2221-Aug-14 20:01
Matty2221-Aug-14 20:01 
GeneralRe: Dictionary<K,V> performance based on Key Type Pin
SledgeHammer0121-Aug-14 20:17
SledgeHammer0121-Aug-14 20:17 
GeneralRe: Dictionary<K,V> performance based on Key Type Pin
Matty2221-Aug-14 20:45
Matty2221-Aug-14 20: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 2:25
mveRichard Deeming22-Aug-14 2:25 
AnswerRe: Dictionary<K,V> performance based on Key Type Pin
Rob Philpott22-Aug-14 0:10
Rob Philpott22-Aug-14 0:10 

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.