Click here to Skip to main content
15,845,115 members
Home / Discussions / C#
   

C#

 
GeneralRe: Converting Alphabet to corresponding number Pin
Wastedtalent19-Feb-15 5:55
professionalWastedtalent19-Feb-15 5:55 
AnswerRe: Converting Alphabet to corresponding number Pin
PIEBALDconsult16-Feb-15 6:47
mvePIEBALDconsult16-Feb-15 6:47 
GeneralRe: Converting Alphabet to corresponding number Pin
Tetra104416-Feb-15 7:12
Tetra104416-Feb-15 7:12 
AnswerRe: Converting Alphabet to corresponding number Pin
BillWoodruff16-Feb-15 13:59
professionalBillWoodruff16-Feb-15 13:59 
GeneralRe: Converting Alphabet to corresponding number Pin
Rob Philpott17-Feb-15 0:21
Rob Philpott17-Feb-15 0:21 
QuestionWhy is Array.Sort() slower if I use my own comparer? Pin
robinsc16-Feb-15 2:09
robinsc16-Feb-15 2:09 
AnswerRe: Why is Array.Sort() slower if I use my own comparer? Pin
Rob Philpott16-Feb-15 3:06
Rob Philpott16-Feb-15 3:06 
GeneralRe: Why is Array.Sort() slower if I use my own comparer? Pin
robinsc16-Feb-15 3:20
robinsc16-Feb-15 3:20 
Good to know or... bad to know that my code seems to be as efficient as possible... but still 3 times slower than the Array.Sort(la). I have implemented a quicksort as well and found the same performance as when I use the comparer Array.Sort(la,sk). But I read on several pages that C# uses quicksort in Array.Sort(). Using unsafe would increase the performance by about 20%, so something is strange. There must be a possibility to further increase the speed.
It would be interesting to know how they do it, because if I want to improve the speed of the struct array sort, which needs 8 times longer than the Array.Sort(la), I need to understand the mechanism behind the .NET implementation. Do you have an idea of how to get behind their mechanism?
Thx
GeneralRe: Why is Array.Sort() slower if I use my own comparer? Pin
Rob Philpott16-Feb-15 3:26
Rob Philpott16-Feb-15 3:26 
GeneralRe: Why is Array.Sort() slower if I use my own comparer? Pin
robinsc16-Feb-15 3:35
robinsc16-Feb-15 3:35 
SuggestionRe: Why is Array.Sort() slower if I use my own comparer? Pin
Richard Deeming16-Feb-15 9:20
mveRichard Deeming16-Feb-15 9:20 
GeneralRe: Why is Array.Sort() slower if I use my own comparer? Pin
Rob Philpott16-Feb-15 9:22
Rob Philpott16-Feb-15 9:22 
GeneralRe: Why is Array.Sort() slower if I use my own comparer? Pin
robinsc16-Feb-15 22:57
robinsc16-Feb-15 22:57 
AnswerRe: Why is Array.Sort() slower if I use my own comparer? Pin
Dave Kreskowiak16-Feb-15 3:56
mveDave Kreskowiak16-Feb-15 3:56 
GeneralRe: Why is Array.Sort() slower if I use my own comparer? Pin
robinsc16-Feb-15 4:23
robinsc16-Feb-15 4:23 
QuestionConsuming SAP Web Service in C# Pin
Amoxtli15-Feb-15 23:40
Amoxtli15-Feb-15 23:40 
GeneralRe: Consuming SAP Web Service in C# Pin
Richard MacCutchan16-Feb-15 0:05
mveRichard MacCutchan16-Feb-15 0:05 
GeneralRe: Consuming SAP Web Service in C# Pin
Amoxtli16-Feb-15 0:18
Amoxtli16-Feb-15 0:18 
GeneralRe: Consuming SAP Web Service in C# Pin
Richard MacCutchan16-Feb-15 0:35
mveRichard MacCutchan16-Feb-15 0:35 
GeneralRe: Consuming SAP Web Service in C# Pin
Amoxtli16-Feb-15 0:41
Amoxtli16-Feb-15 0:41 
GeneralRe: Consuming SAP Web Service in C# Pin
Amoxtli16-Feb-15 2:18
Amoxtli16-Feb-15 2:18 
GeneralRe: Consuming SAP Web Service in C# Pin
Richard MacCutchan16-Feb-15 2:20
mveRichard MacCutchan16-Feb-15 2:20 
GeneralRe: Consuming SAP Web Service in C# Pin
Amoxtli16-Feb-15 2:25
Amoxtli16-Feb-15 2:25 
QuestionCan PdfFileWriter Support Chinese? Pin
gzhmrj15-Feb-15 23:23
gzhmrj15-Feb-15 23:23 
AnswerRe: Can PdfFileWriter Support Chinese? Pin
OriginalGriff15-Feb-15 23:26
mveOriginalGriff15-Feb-15 23:26 

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.