Is it possible to disable function arguments evaluation?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Is it possible to disable function arguments evaluation?
- From: Han Zhao <abrash_han@...>
- Date: 2011年6月30日 08:36:03 +0000 (UTC)
hi,
In the debug mode of my project, I did a lot log using print().
There're many string concats and other calculation in the
arguments of print func.
In release mode, I assign the print to:
function dumb_print() end
to hide the logs.
But the arguments for print are still evaluated, is it possible
to avoid this overhead?
Best,
hz