[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Features you would like to see
- From: David Given <dg@...>
- Date: Mon, 20 Aug 2007 12:17:55 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Niklas Frykholm wrote:
[...]
> conditional
> compilation of debug-statements:
[...]
> debug("This should disappear in release compiles.")
I believe LuaJit attempts to inline functions, which means that if debug got
defined as function(s) end, then it *ought* to pretty much disappear
completely from the final code... assuming you're using a platform that's
supported by LuaJit, of course.
- --
┌── dg@cowlark.com ─── http://www.cowlark.com ───────────────────
│
│ "There does not now, nor will there ever, exist a programming language in
│ which it is the least bit hard to write bad programs." --- Flon's Axiom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGyXhjf9E0noFvlzgRArJ5AKDIFpuLyS5IHOqUCw89Vknb5OszTwCfVR7g
xEu8sApGzIgf1CarfXgTraM=
=3nlg
-----END PGP SIGNATURE-----