On Thu, Jun 14, 2007 at 10:15:01PM +0000, Martin Stjernholm, Roxen IS @ Pike developers forum wrote:
i'd like to be able to go into any existing pike application, add a setting or line of code in the beginning and then be sure to not miss any docs from there on.
This would be much like turning on extra debug modes, I take it: I.e. being able to investigate apps without changing them.
exactly. half of my current job is doing just that.
Sure, I don't have a problem with that, as long as it defaults to off.
well, the current code does default to off. with a function to turn it on.
A define would be best since it means zero runtime overhead when not used.
right now it is one simple if in compile_string. could probably wrap that into a define too.
the remaining functions are never called until docs are actually requested anywhere, so they should have no impact on performance.
greetings, martin.