[REBOL] idea for pre-processing
From: anton::lexicon::net at: 20-Jun-2002 13:50
The following two lines work the same:
do %demo-trapezoid-morph.r
do read %demo-trapezoid-morph.r
This means that you can make a wrapper around
'do which will allow you to pre-process the file
before it is run.
Why?
I want to optionally strip debugging lines in my
programs, so that they run at top speed without
them. There will be no overhead of, eg:
if debug [print "inner loop"]
which could occur multiple times in a program,
and within tight, inner loops, impacting
performance.
The reason I have come to this idea was in
image processing.
Has anyone done something like this?
Anton.