Click here to Skip to main content
15,922,015 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can set text of button at runtime? Pin
Le@rner2-Jul-08 23:47
Le@rner2-Jul-08 23:47 
AnswerRe: How can set text of button at runtime? Pin
Rajesh R Subramanian2-Jul-08 23:53
professionalRajesh R Subramanian2-Jul-08 23:53 
AnswerRe: How can set text of button at runtime? Pin
_AnsHUMAN_ 2-Jul-08 23:54
_AnsHUMAN_ 2-Jul-08 23:54 
AnswerRe: How can set text of button at runtime? Pin
Paresh Chitte2-Jul-08 23:54
Paresh Chitte2-Jul-08 23:54 
AnswerRe: How can set text of button at runtime? Pin
Hamid_RT3-Jul-08 1:38
Hamid_RT3-Jul-08 1:38 
QuestionUAC in Vista Pin
subramanyeswari2-Jul-08 23:35
subramanyeswari2-Jul-08 23:35 
QuestionRe: UAC in Vista Pin
Rajesh R Subramanian2-Jul-08 23:55
professionalRajesh R Subramanian2-Jul-08 23:55 
AnswerRe: UAC in Vista Pin
subramanyeswari3-Jul-08 2:17
subramanyeswari3-Jul-08 2:17 
GeneralRe: UAC in Vista Pin
Nibu babu thomas3-Jul-08 3:35
Nibu babu thomas3-Jul-08 3:35 
QuestionHow to Clear IE history under a limited account of VISTA Pin
moye25012-Jul-08 22:26
moye25012-Jul-08 22:26 
QuestionThe stack conventions are different in AfxBeginThread and CreateThread Pin
followait2-Jul-08 21:37
followait2-Jul-08 21:37 
AnswerRe: The stack conventions are different in AfxBeginThread and CreateThread Pin
Iain Clarke, Warrior Programmer2-Jul-08 22:03
Iain Clarke, Warrior Programmer2-Jul-08 22:03 
AnswerRe: The stack conventions are different in AfxBeginThread and CreateThread Pin
Saurabh.Garg2-Jul-08 22:12
Saurabh.Garg2-Jul-08 22:12 
QuestionRe: The stack conventions are different in AfxBeginThread and CreateThread Pin
CPallini2-Jul-08 22:22
mveCPallini2-Jul-08 22:22 
AnswerRe: The stack conventions are different in AfxBeginThread and CreateThread Pin
Saurabh.Garg2-Jul-08 22:27
Saurabh.Garg2-Jul-08 22:27 
AnswerRe: The stack conventions are different in AfxBeginThread and CreateThread Pin
Roger Stoltz2-Jul-08 22:23
Roger Stoltz2-Jul-08 22:23 
QuestionHow to hide a public function inherit from base class Pin
Dracula Wang2-Jul-08 21:27
Dracula Wang2-Jul-08 21:27 
QuestionRe: How to hide a public function inherit from base class Pin
CPallini2-Jul-08 21:36
mveCPallini2-Jul-08 21:36 
AnswerRe: How to hide a public function inherit from base class Pin
Dracula Wang2-Jul-08 21:50
Dracula Wang2-Jul-08 21:50 
QuestionRe: How to hide a public function inherit from base class Pin
CPallini2-Jul-08 21:56
mveCPallini2-Jul-08 21:56 
AnswerRe: How to hide a public function inherit from base class Pin
Dracula Wang2-Jul-08 22:05
Dracula Wang2-Jul-08 22:05 
AnswerRe: How to hide a public function inherit from base class Pin
BadKarma3-Jul-08 1:21
BadKarma3-Jul-08 1:21 
QuestionFloating point assembler code [modified] Pin
Tomerland2-Jul-08 20:56
Tomerland2-Jul-08 20:56 
AnswerRe: Floating point assembler code Pin
Roger Stoltz3-Jul-08 2:09
Roger Stoltz3-Jul-08 2:09 
AnswerRe: Floating point assembler code Pin
Alan Balkany3-Jul-08 4:57
Alan Balkany3-Jul-08 4:57 
A few ideas:

1. Since the line is executed millions of times, you may be able to speed it up with loop unrolling http://en.wikipedia.org/wiki/Loop_unrolling[^].

2. Every time you do pY[j], it requires a multiplication and an addition. If you're processing the array sequentially, it would be faster to start with a pointer to pY[0], then increment it to get the next array element.

If you show some more surrounding code, we may be able to see some other optimizations.

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.