Click here to Skip to main content
16,005,339 members
Home / Discussions / C#
   

C#

 
AnswerRe: int[] sort Pin
Judah Gabriel Himango1-Apr-09 17:54
sponsorJudah Gabriel Himango1-Apr-09 17:54 
AnswerRe: int[] sort Pin
N a v a n e e t h1-Apr-09 18:02
N a v a n e e t h1-Apr-09 18:02 
GeneralRe: int[] sort Pin
Judah Gabriel Himango2-Apr-09 4:01
sponsorJudah Gabriel Himango2-Apr-09 4:01 
GeneralRe: int[] sort Pin
Luc Pattyn2-Apr-09 4:24
sitebuilderLuc Pattyn2-Apr-09 4:24 
GeneralRe: int[] sort Pin
Judah Gabriel Himango2-Apr-09 5:13
sponsorJudah Gabriel Himango2-Apr-09 5:13 
GeneralRe: int[] sort Pin
Luc Pattyn2-Apr-09 5:22
sitebuilderLuc Pattyn2-Apr-09 5:22 
GeneralRe: int[] sort Pin
Judah Gabriel Himango2-Apr-09 5:34
sponsorJudah Gabriel Himango2-Apr-09 5:34 
GeneralRe: int[] sort Pin
Luc Pattyn2-Apr-09 6:02
sitebuilderLuc Pattyn2-Apr-09 6:02 
Judah Himango wrote:
we've so wildly veered off helping this guy


Didn't he get ample help for his quest? Can't help it he only needed a little bit of help, the matter deserves deeper examination.


Judah Himango wrote:
era of 4 and 8 core desktop machines


no matter what amount of hardware resources you throw at the problem at hand, performing a full sort when none is required cannot possibly be the winning strategy. If you want to parallelize (new word?) the quest for the largest number, just split the data set over the cores, and pick the largest of all the largests. BTW: that is of course what int max=ints.Largest; is supposed to do.

Anyway, 2 to 4 threads is fine for my needs; most of the additional ones we will have in future will be very busy performing utilitarian stuff such as:
- aggregating the latest MSDN help info;
- RSS feeding different web sites, trying to keep up with all the CP forums and the like;
- scanning for viruses;
- automatically reporting WPF bugs;
- downloading and installing fixes for Visual Studio and the like (excluding WPF, that one is unfixable from the start according to JSOP).

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


GeneralRe: int[] sort Pin
Judah Gabriel Himango2-Apr-09 6:07
sponsorJudah Gabriel Himango2-Apr-09 6:07 
GeneralRe: int[] sort Pin
Luc Pattyn2-Apr-09 6:13
sitebuilderLuc Pattyn2-Apr-09 6:13 
GeneralRe: int[] sort Pin
Henry Minute2-Apr-09 4:27
Henry Minute2-Apr-09 4:27 
GeneralRe: int[] sort [modified] Pin
Judah Gabriel Himango2-Apr-09 5:16
sponsorJudah Gabriel Himango2-Apr-09 5:16 
GeneralRe: int[] sort Pin
Henry Minute2-Apr-09 6:25
Henry Minute2-Apr-09 6:25 
QuestionCreate table with DrawRectangle..?? Pin
iman_ridwan1-Apr-09 17:39
iman_ridwan1-Apr-09 17:39 
AnswerRe: Create table with DrawRectangle..?? Pin
Judah Gabriel Himango1-Apr-09 17:49
sponsorJudah Gabriel Himango1-Apr-09 17:49 
Questionstring comparision ignores escape sequence and html tags [modified] Pin
LiYS1-Apr-09 16:22
LiYS1-Apr-09 16:22 
AnswerRe: string comparision ignores escape sequence and html tags Pin
Judah Gabriel Himango1-Apr-09 17:32
sponsorJudah Gabriel Himango1-Apr-09 17:32 
GeneralThreading issue in winforms Pin
Mycroft Holmes1-Apr-09 16:22
professionalMycroft Holmes1-Apr-09 16:22 
GeneralRe: Threading issue in winforms Pin
Judah Gabriel Himango1-Apr-09 16:59
sponsorJudah Gabriel Himango1-Apr-09 16:59 
GeneralRe: Threading issue in winforms Pin
Mycroft Holmes1-Apr-09 17:16
professionalMycroft Holmes1-Apr-09 17:16 
GeneralRe: Threading issue in winforms Pin
Judah Gabriel Himango1-Apr-09 17:46
sponsorJudah Gabriel Himango1-Apr-09 17:46 
GeneralRe: Threading issue in winforms Pin
Mycroft Holmes1-Apr-09 17:56
professionalMycroft Holmes1-Apr-09 17:56 
GeneralRe: Threading issue in winforms Pin
N a v a n e e t h1-Apr-09 17:34
N a v a n e e t h1-Apr-09 17:34 
GeneralRe: Threading issue in winforms Pin
Mycroft Holmes1-Apr-09 17:54
professionalMycroft Holmes1-Apr-09 17:54 
GeneralRe: Threading issue in winforms Pin
N a v a n e e t h1-Apr-09 17:59
N a v a n e e t h1-Apr-09 17:59 

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.