Click here to Skip to main content
15,881,600 members
Home / Discussions / C#
   

C#

 
GeneralRe: Speed up code Pin
OriginalGriff8-Apr-16 1:34
mveOriginalGriff8-Apr-16 1:34 
GeneralRe: Speed up code Pin
GrooverFromHolland8-Apr-16 1:52
GrooverFromHolland8-Apr-16 1:52 
GeneralRe: Speed up code Pin
Sascha Lefèvre8-Apr-16 2:41
professionalSascha Lefèvre8-Apr-16 2:41 
GeneralRe: Speed up code Pin
Eddy Vluggen8-Apr-16 2:54
professionalEddy Vluggen8-Apr-16 2:54 
AnswerRe: Speed up code Pin
Gerry Schmitz8-Apr-16 7:24
mveGerry Schmitz8-Apr-16 7:24 
GeneralRe: Speed up code Pin
GrooverFromHolland18-Apr-16 23:59
GrooverFromHolland18-Apr-16 23:59 
GeneralRe: Speed up code Pin
Gerry Schmitz19-Apr-16 4:58
mveGerry Schmitz19-Apr-16 4:58 
AnswerRe: Speed up code Pin
Patrice T9-Apr-16 0:01
mvePatrice T9-Apr-16 0:01 
Only a detail
replace
C#
for (int i = 0; i < length; i += 8) // length = 1176
{
    int colNum;
    if (i == 0) colNum = 1;
    else colNum = i / 8 + 1;

with
C#
int colNum=0;
for (int i = 0; i < length; i += 8) // length = 1176
{
    colNum ++;

It will not really change the overall timing, but should improve a little.
Patrice

“Everything should be made as simple as possible, but no simpler.” Albert Einstein

GeneralRe: Speed up code Pin
GrooverFromHolland9-Apr-16 1:56
GrooverFromHolland9-Apr-16 1:56 
GeneralRe: Speed up code Pin
Patrice T9-Apr-16 5:09
mvePatrice T9-Apr-16 5:09 
Question.NET Remoting connection timing out after many invocations Pin
RichardGrimmer7-Apr-16 20:30
RichardGrimmer7-Apr-16 20:30 
AnswerRe: .NET Remoting connection timing out after many invocations Pin
Richard Andrew x648-Apr-16 3:42
professionalRichard Andrew x648-Apr-16 3:42 
AnswerRe: .NET Remoting connection timing out after many invocations Pin
Dikshitar V.9-Apr-16 10:23
Dikshitar V.9-Apr-16 10:23 
QuestionLocal Service to monitor a folder on desktop Pin
Blubbo7-Apr-16 9:40
Blubbo7-Apr-16 9:40 
AnswerRe: Local Service to monitor a folder on desktop Pin
Richard Deeming7-Apr-16 10:25
mveRichard Deeming7-Apr-16 10:25 
GeneralRe: Local Service to monitor a folder on desktop Pin
Blubbo8-Apr-16 1:26
Blubbo8-Apr-16 1:26 
GeneralRe: Local Service to monitor a folder on desktop Pin
Richard Deeming8-Apr-16 1:46
mveRichard Deeming8-Apr-16 1:46 
GeneralRe: Local Service to monitor a folder on desktop Pin
Blubbo8-Apr-16 2:50
Blubbo8-Apr-16 2:50 
GeneralRe: Local Service to monitor a folder on desktop Pin
Eddy Vluggen8-Apr-16 2:57
professionalEddy Vluggen8-Apr-16 2:57 
GeneralRe: Local Service to monitor a folder on desktop Pin
Richard Deeming8-Apr-16 3:00
mveRichard Deeming8-Apr-16 3:00 
AnswerRe: Local Service to monitor a folder on desktop Pin
Rahul Hanumant Chavan8-Apr-16 21:38
professionalRahul Hanumant Chavan8-Apr-16 21:38 
Generalwhat is c# Pin
Member 124355267-Apr-16 9:03
Member 124355267-Apr-16 9:03 
AnswerRe: what is c# Pin
Sascha Lefèvre7-Apr-16 9:15
professionalSascha Lefèvre7-Apr-16 9:15 
GeneralRe: what is c# Pin
Ratul Thakur8-Apr-16 7:09
Ratul Thakur8-Apr-16 7:09 
GeneralRe: what is c# Pin
Sascha Lefèvre8-Apr-16 21:32
professionalSascha Lefèvre8-Apr-16 21:32 

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.