Click here to Skip to main content
15,498,622 members
Home / Discussions / C#
   

C#

 
QuestionToll management Pin
Member 1278484315-Mar-17 22:26
MemberMember 1278484315-Mar-17 22:26 
AnswerRe: Toll management Pin
OriginalGriff15-Mar-17 22:32
mveOriginalGriff15-Mar-17 22:32 
QuestionRe: Toll management Pin
ZurdoDev16-Mar-17 6:40
professionalZurdoDev16-Mar-17 6:40 
JokeRe: Toll management Pin
Richard MacCutchan16-Mar-17 7:35
mveRichard MacCutchan16-Mar-17 7:35 
GeneralRe: Toll management Pin
ZurdoDev16-Mar-17 8:04
professionalZurdoDev16-Mar-17 8:04 
GeneralRe: Toll management Pin
Richard MacCutchan16-Mar-17 8:13
mveRichard MacCutchan16-Mar-17 8:13 
AnswerRe: Toll management Pin
Patrice T17-Mar-17 15:35
mvePatrice T17-Mar-17 15:35 
QuestionMulti-threading Efficiency Pin
MAW3015-Mar-17 17:11
MemberMAW3015-Mar-17 17:11 
Can anyone please tell me what would be the most efficient way to calculate data.
I have to calculate 10000 items with 1000 algorithms each.

1. Have 10 different groups of data 100 algorithms each in various parts of my program, where it locks and unlocks the DataTable when storing.

or

2. Calculate 1000 algorithms all at once, locking and unlocking the DataTable only once.

Because 2 is a larger set of data to calculate other processes might have to wait more.
However 1 locks and unlocks many more times slowing down the process.

What is considered the best practice or rule to follow.

Thanks in advance,
Michael
AnswerRe: Multi-threading Efficiency Pin
Mycroft Holmes15-Mar-17 17:38
professionalMycroft Holmes15-Mar-17 17:38 
GeneralRe: Multi-threading Efficiency Pin
MAW3015-Mar-17 18:39
MemberMAW3015-Mar-17 18:39 
GeneralRe: Multi-threading Efficiency Pin
Eddy Vluggen16-Mar-17 2:17
professionalEddy Vluggen16-Mar-17 2:17 
AnswerRe: Multi-threading Efficiency Pin
Pete O'Hanlon15-Mar-17 23:49
mvaPete O'Hanlon15-Mar-17 23:49 
QuestionC# Class Documentation on MSDN Pin
Winnie D14-Mar-17 10:32
MemberWinnie D14-Mar-17 10:32 
AnswerRe: C# Class Documentation on MSDN Pin
Eddy Vluggen14-Mar-17 10:47
professionalEddy Vluggen14-Mar-17 10:47 
GeneralRe: C# Class Documentation on MSDN Pin
Winnie D14-Mar-17 11:40
MemberWinnie D14-Mar-17 11:40 
GeneralRe: C# Class Documentation on MSDN Pin
CHill6014-Mar-17 13:54
mveCHill6014-Mar-17 13:54 
GeneralRe: C# Class Documentation on MSDN Pin
Mycroft Holmes14-Mar-17 15:28
professionalMycroft Holmes14-Mar-17 15:28 
GeneralRe: C# Class Documentation on MSDN Pin
Kevin McFarlane15-Mar-17 3:15
MemberKevin McFarlane15-Mar-17 3:15 
AnswerRe: C# Class Documentation on MSDN Pin
Afzaal Ahmad Zeeshan14-Mar-17 11:03
mveAfzaal Ahmad Zeeshan14-Mar-17 11:03 
GeneralRe: C# Class Documentation on MSDN Pin
Winnie D14-Mar-17 12:37
MemberWinnie D14-Mar-17 12:37 
SuggestionRe: C# Class Documentation on MSDN Pin
Richard Deeming14-Mar-17 12:15
mveRichard Deeming14-Mar-17 12:15 
QuestionDataGridView NOT adding with Entities models Pin
nabilg14-Mar-17 5:14
Membernabilg14-Mar-17 5:14 
QuestionManage a timeout on a ldap connection Pin
MarcSchmidtmayer13-Mar-17 2:04
MemberMarcSchmidtmayer13-Mar-17 2:04 
AnswerRe: Manage a timeout on a ldap connection Pin
Garth J Lancaster13-Mar-17 2:34
professionalGarth J Lancaster13-Mar-17 2:34 
GeneralRe: Manage a timeout on a ldap connection Pin
MarcSchmidtmayer13-Mar-17 3:27
MemberMarcSchmidtmayer13-Mar-17 3:27 

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.