TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: GERRY DANEN
from: ERIK WARMELINK
date: 1997-08-15 02:44:00
subject: C++ or ASM?

Gerry, 11 Aug you wrote to me:
[volatile]
 GD> I don't understand why all screen output would be removed
 GD> due to optimization.  Can you explain, please?
Jeery and Anthony already explained it.
Since you don't tell the compiler another process will be influenced by 
writing to that memory. Your program isn't reading that memory, and unless 
you tell the compiler some other process uses the memory, it _may_ assume it 
is unnecessary to perform the writes, if it is a good optimizer it will of 
course do that, reducing code size _and_ increasing speed.
Bye,
 Erik 
---
---------------
* Origin: WarmelinkE@vertis.nl (2:282/1.60)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.