Optimized Calls To Empty Routines.

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu