velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <ge...@optonline.net>
Subject Re: Nested Macro Efficiency
Date Tue, 03 Sep 2002 21:29:59 GMT
On 9/3/02 2:52 PM, "plynchnlm@netscape.net" <plynchnlm@netscape.net> wrote:

> Suppose you have:
> 
> #macro(a)
> Hi.
> #end
> 
> #macro(b)
> #a()
> #end
> 
> #macro(c)
> #b()
> #end
> 
> After the file is parsed, would calling #c() be any less efficient than
> calling #a()?

Of course.  The call through c to call b to call a costs something.

-- 
Geir Magnusson Jr. 
Research & Development, Adeptra Inc.
geirm@adeptra.com
+1-203-247-1713



--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message