1. Optimized Calls To Empty Routines.
- Posted by David Guy <dguy at MINDSPRING.COM> Jun 10, 1999
- 420 views
Hi, Under any circumstances does Euphoria discard/not make calls to empty routines? My simple tests show that calls to empty routines are made. The reason I'm interested in this type of optimization, is because I'm toying with the idea of making a simple profiler for Euphoria for Windows using a DLL. I was thinking when the users doesn't want profiling, they would use a different include file that would replace the functioning routines with empty ones, which would be optimized away by the interpreter. Thanks in advance, David Guy
2. Re: Optimized Calls To Empty Routines.
- Posted by Robert Craig <rds at ATTCANADA.NET> Jun 10, 1999
- 402 views
- Last edited Jun 11, 1999
David Guy writes: > Under any circumstances does Euphoria discard/not make > calls to empty routines? My simple tests show that calls to > empty routines are made. Euphoria (currently) will always call a routine, even if it's empty. (When type_check is turned off, Euphoria will skip calls to user-defined types.) Regards, Rob Craig Rapid Deployment Software http://members.aol.com/FilesEu/