[plt-scheme] Are superfluous expressions optimized away?

From: Derick Eddington (derick.eddington at gmail.com)
Date: Tue Feb 20 19:14:17 EST 2007

Are superfluous expressions, like say '() or (void) when not in tail- or
binding- or pass-value-position or any other value-is-used position,
optimized away (maybe only when compiled to byte-code)?  I'm wondering
if conditional compilation macros like (debug expr ...) which expand to
'() or (void) would incur zero performance penalty?  If not, the
performance cost is probably very negligible?

-- 
: Derick
----------------------------------------------------------------



Posted on the users mailing list.