Optimized Calls To Empty Routines.
- Posted by David Guy <dguy at MINDSPRING.COM> Jun 10, 1999
- 416 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