Click here to Skip to main content
12,445,274 members (59,892 online)
   

C#

 
GeneralRe: two comboBoxs Pin
Bernhard Hiller18-Aug-14 21:08
professionalBernhard Hiller18-Aug-14 21:08 
QuestionC# Performance Issue Pin
SledgeHammer0117-Aug-14 14:50
memberSledgeHammer0117-Aug-14 14:50 
AnswerRe: C# Performance Issue Pin
SV Wong17-Aug-14 15:26
professionalSV Wong17-Aug-14 15:26 
GeneralRe: C# Performance Issue Pin
SledgeHammer0117-Aug-14 16:05
memberSledgeHammer0117-Aug-14 16:05 
GeneralRe: C# Performance Issue Pin
SV Wong17-Aug-14 16:23
professionalSV Wong17-Aug-14 16:23 
SuggestionRe: C# Performance Issue Pin
Richard Deeming18-Aug-14 2:32
professionalRichard Deeming18-Aug-14 2:32 
GeneralRe: C# Performance Issue Pin
jschell18-Aug-14 11:48
memberjschell18-Aug-14 11:48 
AnswerRe: C# Performance Issue Pin
Bernhard Hiller17-Aug-14 20:29
professionalBernhard Hiller17-Aug-14 20:29 
AnswerRe: C# Performance Issue Pin
Richard MacCutchan17-Aug-14 20:41
protectorRichard MacCutchan17-Aug-14 20:41 
GeneralRe: C# Performance Issue Pin
Mycroft Holmes17-Aug-14 20:59
professionalMycroft Holmes17-Aug-14 20:59 
GeneralRe: C# Performance Issue Pin
Richard MacCutchan17-Aug-14 21:34
protectorRichard MacCutchan17-Aug-14 21:34 
GeneralRe: C# Performance Issue Pin
SledgeHammer0118-Aug-14 4:46
memberSledgeHammer0118-Aug-14 4:46 
AnswerRe: C# Performance Issue Pin
Rob Philpott17-Aug-14 23:45
professionalRob Philpott17-Aug-14 23:45 
AnswerRe: C# Performance Issue Pin
Richard Deeming18-Aug-14 2:30
professionalRichard Deeming18-Aug-14 2:30 
SledgeHammer01 wrote:
Then I lock a dictionary and do a TryGetValue.

That might be related to the problem - locking is a notoriously slow operation. You might want to look at using the ConcurrentDictionary class[^] instead.

However, you'll need to profile your code to find out where the bottleneck is. Making random changes in the hopes of improving the performance is never a good idea. Smile | :)



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: C# Performance Issue Pin
SledgeHammer0118-Aug-14 4:51
memberSledgeHammer0118-Aug-14 4:51 
GeneralRe: C# Performance Issue Pin
Richard Deeming18-Aug-14 7:31
professionalRichard Deeming18-Aug-14 7:31 
GeneralRe: C# Performance Issue Pin
SledgeHammer0118-Aug-14 8:31
memberSledgeHammer0118-Aug-14 8:31 
AnswerRe: C# Performance Issue Pin
Pete O'Hanlon18-Aug-14 3:09
protectorPete O'Hanlon18-Aug-14 3:09 
GeneralRe: C# Performance Issue Pin
SledgeHammer0118-Aug-14 4:52
memberSledgeHammer0118-Aug-14 4:52 
GeneralRe: C# Performance Issue Pin
Pete O'Hanlon18-Aug-14 4:56
protectorPete O'Hanlon18-Aug-14 4:56 
AnswerRe: C# Performance Issue Pin
jschell18-Aug-14 11:51
memberjschell18-Aug-14 11:51 
QuestionC#/JS problematic iteration with table... Pin
OmegaExtern16-Aug-14 17:23
memberOmegaExtern16-Aug-14 17:23 
AnswerRe: C#/JS problematic iteration with table... Pin
Richard MacCutchan16-Aug-14 21:11
protectorRichard MacCutchan16-Aug-14 21:11 
QuestionC# Keybind for Autoclicker Pin
Member 1101699616-Aug-14 16:39
memberMember 1101699616-Aug-14 16:39 
AnswerRe: C# Keybind for Autoclicker Pin
Zain Ul Abidin16-Aug-14 19:49
memberZain Ul Abidin16-Aug-14 19:49 
AnswerRe: C# Keybind for Autoclicker Pin
OmegaExtern16-Aug-14 20:44
memberOmegaExtern16-Aug-14 20:44 
GeneralRe: C# Keybind for Autoclicker Pin
Member 1101699616-Aug-14 20:47
memberMember 1101699616-Aug-14 20:47 
GeneralRe: C# Keybind for Autoclicker Pin
OmegaExtern16-Aug-14 20:50
memberOmegaExtern16-Aug-14 20:50 
Questioncheck array value exists Pin
scottichrosaviakosmos16-Aug-14 3:11
memberscottichrosaviakosmos16-Aug-14 3:11 
AnswerRe: check array value exists Pin
jlopez78816-Aug-14 3:34
memberjlopez78816-Aug-14 3:34 
GeneralRe: check array value exists Pin
scottichrosaviakosmos16-Aug-14 4:03
memberscottichrosaviakosmos16-Aug-14 4:03 
AnswerRe: check array value exists Pin
OriginalGriff16-Aug-14 3:39
protectorOriginalGriff16-Aug-14 3:39 
QuestionCatching exceptions on backgroundworker Pin
pjank4215-Aug-14 19:44
memberpjank4215-Aug-14 19:44 
QuestionRe: Catching exceptions on backgroundworker Pin
Richard MacCutchan15-Aug-14 21:25
protectorRichard MacCutchan15-Aug-14 21:25 
AnswerRe: Catching exceptions on backgroundworker Pin
pjank4216-Aug-14 1:50
memberpjank4216-Aug-14 1:50 
GeneralRe: Catching exceptions on backgroundworker Pin
Richard MacCutchan16-Aug-14 5:10
protectorRichard MacCutchan16-Aug-14 5:10 
AnswerRe: Catching exceptions on backgroundworker Pin
Eddy Vluggen16-Aug-14 2:10
professionalEddy Vluggen16-Aug-14 2:10 
AnswerRe: Catching exceptions on backgroundworker Pin
jschell17-Aug-14 9:56
memberjschell17-Aug-14 9:56 
GeneralRe: Catching exceptions on backgroundworker Pin
pjank4218-Aug-14 8:40
memberpjank4218-Aug-14 8:40 
QuestionMissing TCP Packets Pin
M Riaz Bashir15-Aug-14 19:24
memberM Riaz Bashir15-Aug-14 19:24 
AnswerRe: Missing TCP Packets Pin
Dave Kreskowiak16-Aug-14 4:29
mvpDave Kreskowiak16-Aug-14 4:29 
GeneralRe: Missing TCP Packets Pin
M Riaz Bashir16-Aug-14 19:54
memberM Riaz Bashir16-Aug-14 19:54 
AnswerRe: Missing TCP Packets Pin
Rob Philpott16-Aug-14 6:34
professionalRob Philpott16-Aug-14 6:34 
GeneralRe: Missing TCP Packets Pin
M Riaz Bashir16-Aug-14 19:54
memberM Riaz Bashir16-Aug-14 19:54 
QuestionThread Freeze when trying Abort Pin
Member 1098515215-Aug-14 12:17
memberMember 1098515215-Aug-14 12:17 
GeneralRe: Thread Freeze when trying Abort Pin
PIEBALDconsult15-Aug-14 12:47
memberPIEBALDconsult15-Aug-14 12:47 
QuestionSummary Report in GridView Pin
sk_ko14-Aug-14 22:02
membersk_ko14-Aug-14 22:02 
AnswerRe: Summary Report in GridView Pin
Chris Quinn14-Aug-14 22:36
memberChris Quinn14-Aug-14 22:36 
AnswerRe: Summary Report in GridView Pin
Mycroft Holmes14-Aug-14 23:00
professionalMycroft Holmes14-Aug-14 23:00 
GeneralScope of Share point and Silverlight Pin
Member 1059394814-Aug-14 3:40
memberMember 1059394814-Aug-14 3:40 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.160811.3 | Last Updated 23 Aug 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid