Click here to Skip to main content
15,919,341 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Pointer Validation dynamic_cast<> Pin
Swinefeaster26-Jan-02 20:26
Swinefeaster26-Jan-02 20:26 
GeneralRe: Pointer Validation dynamic_cast<> Pin
Swinefeaster26-Jan-02 21:32
Swinefeaster26-Jan-02 21:32 
GeneralRe: Pointer Validation dynamic_cast&lt;&gt; Pin
Swinefeaster17-Jul-03 10:05
Swinefeaster17-Jul-03 10:05 
GeneralWin98 vs WinNT Pin
Jim Crafton26-Jan-02 12:30
Jim Crafton26-Jan-02 12:30 
GeneralRe: Win98 vs WinNT Pin
567890123427-Jan-02 3:13
567890123427-Jan-02 3:13 
GeneralCode optimizations - script or compiled Pin
alex.barylski26-Jan-02 11:26
alex.barylski26-Jan-02 11:26 
GeneralRe: Code optimizations - script or compiled Pin
Rick York26-Jan-02 12:30
mveRick York26-Jan-02 12:30 
GeneralRe: Code optimizations - script or compiled Pin
alex.barylski26-Jan-02 13:01
alex.barylski26-Jan-02 13:01 
Really...i would figure both would be about equal for scripting langs. Maybe even in favour for run time, seeing how people kinda expect to have a short delay in the download process.

I'm really curious if optimized code would work in a interpreted environment.

Take the following example:
for(i=0; i<10000; i++)
  a[i] = b + c;

t = a + b;
for(i=0; i<10000; i++)
  a[i] = t;


even in interpretation it one less operation to perform each iteration of the loop...?

I figure i'll try it out by executing similar loops and timing the diff. Only i don't know quite how to go about it. Would JScript allow me to clock it in the code itself or will i have to do it through the IWebBrowser2 or similar component

Minus 30 degrees C is so damn cold

"An expert is someone who has made all the mistakes in thier field" - Niels Bohr
GeneralRe: Code optimizations - script or compiled Pin
markkuk27-Jan-02 19:56
markkuk27-Jan-02 19:56 
GeneralAccess violated Pin
Stephen Caldwell26-Jan-02 11:12
Stephen Caldwell26-Jan-02 11:12 
GeneralRe: Access violated Pin
Swinefeaster26-Jan-02 12:01
Swinefeaster26-Jan-02 12:01 
Generallocalhost Pin
Rickard Andersson2026-Jan-02 8:12
Rickard Andersson2026-Jan-02 8:12 
Generalcount words in file Pin
tbbooher26-Jan-02 8:04
tbbooher26-Jan-02 8:04 
GeneralRe: count words in file Pin
Jon Sagara26-Jan-02 8:17
Jon Sagara26-Jan-02 8:17 
GeneralRe: count words in file Pin
tbbooher26-Jan-02 12:33
tbbooher26-Jan-02 12:33 
GeneralRe: count words in file Pin
pba_28-Jan-02 8:48
pba_28-Jan-02 8:48 
GeneralCRecordset question Pin
jafrazee26-Jan-02 7:23
jafrazee26-Jan-02 7:23 
Generaloverloaded methods in idl Pin
Brian Bailey26-Jan-02 6:59
Brian Bailey26-Jan-02 6:59 
GeneralWindows programming !!! How to learn Pin
26-Jan-02 6:25
suss26-Jan-02 6:25 
GeneralRe: Windows programming !!! How to learn Pin
alex.barylski26-Jan-02 11:33
alex.barylski26-Jan-02 11:33 
GeneralCString Format("...") problem in UNICODE Pin
26-Jan-02 1:20
suss26-Jan-02 1:20 
GeneralRe: CString Format("...") problem in UNICODE Pin
Tim Deveaux26-Jan-02 4:21
Tim Deveaux26-Jan-02 4:21 
GeneralResizing a control. Pin
NullStream26-Jan-02 0:55
NullStream26-Jan-02 0:55 
GeneralRe: Resizing a control. Pin
Christian Graus26-Jan-02 0:56
protectorChristian Graus26-Jan-02 0:56 
GeneralRe: Resizing a control. Pin
NullStream26-Jan-02 1:52
NullStream26-Jan-02 1:52 

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.