Click here to Skip to main content
15,896,429 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: dice generation Pin
CPallini29-May-09 21:25
mveCPallini29-May-09 21:25 
AnswerRe: dice generation Pin
swtlibra29-May-09 21:36
swtlibra29-May-09 21:36 
QuestionRe: dice generation Pin
CPallini30-May-09 2:56
mveCPallini30-May-09 2:56 
AnswerRe: dice generation Pin
swtlibra30-May-09 23:42
swtlibra30-May-09 23:42 
GeneralRe: dice generation Pin
CPallini31-May-09 0:02
mveCPallini31-May-09 0:02 
QuestionThe peculiarities of reality : leaner but not faster ? Pin
GJBR29-May-09 10:30
GJBR29-May-09 10:30 
AnswerRe: The peculiarities of reality : leaner but not faster ? Pin
David Crow29-May-09 10:58
David Crow29-May-09 10:58 
GeneralRe: The peculiarities of reality : leaner but not faster ? Pin
GJBR29-May-09 11:10
GJBR29-May-09 11:10 
AnswerRe: The peculiarities of reality : leaner but not faster ? Pin
BobInNJ29-May-09 11:14
BobInNJ29-May-09 11:14 
GeneralRe: The peculiarities of reality : leaner but not faster ? Pin
GJBR29-May-09 11:42
GJBR29-May-09 11:42 
AnswerRe: The peculiarities of reality : leaner but not faster ? Pin
Stuart Dootson29-May-09 13:14
professionalStuart Dootson29-May-09 13:14 
AnswerRe: The peculiarities of reality : leaner but not faster ? Pin
Joe Woodbury29-May-09 13:29
professionalJoe Woodbury29-May-09 13:29 
Look at the assembly.

Sometimes, an extra variable changes what registry is selected or how the loop is constructed is more amenable to the CPU loop prediction. (I've seen counterintuitive results of code changes that boiled down to both.) You may also be seeing artifacts of load times. Larger code may cause segmentation.

(VC++ will optimize the loop out of existence. Thus any alleged differences in speed are errors in the benchmarking utility.)


Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke


AnswerRe: The peculiarities of reality : leaner but not faster ? Pin
Luc Pattyn29-May-09 13:40
sitebuilderLuc Pattyn29-May-09 13:40 
Questionimage in picture control not displayed properly after moving Pin
dumnbncool29-May-09 10:06
dumnbncool29-May-09 10:06 
Questionurgent help Pin
ramina sen29-May-09 8:18
ramina sen29-May-09 8:18 
AnswerRe: urgent help Pin
David Crow29-May-09 8:28
David Crow29-May-09 8:28 
GeneralRe: urgent help Pin
ramina sen29-May-09 8:33
ramina sen29-May-09 8:33 
GeneralRe: urgent help Pin
Cedric Moonen29-May-09 8:51
Cedric Moonen29-May-09 8:51 
GeneralRe: urgent help Pin
CPallini29-May-09 8:58
mveCPallini29-May-09 8:58 
GeneralRe: urgent help Pin
krmed29-May-09 10:17
krmed29-May-09 10:17 
RantRe: urgent help Pin
Michael Schubert29-May-09 12:43
Michael Schubert29-May-09 12:43 
GeneralRe: urgent help Pin
Jim Crafton29-May-09 8:38
Jim Crafton29-May-09 8:38 
AnswerRe: urgent help Pin
Wes Aday29-May-09 9:22
professionalWes Aday29-May-09 9:22 
QuestionWriting a Smart OnPaint Routine Pin
BobInNJ29-May-09 7:15
BobInNJ29-May-09 7:15 
AnswerRe: Writing a Smart OnPaint Routine Pin
CPallini29-May-09 7:39
mveCPallini29-May-09 7:39 

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.