The optimizer could hoist the construct out of the loop...
Assuming it can realize its possible to do that.


Regards,

-- Gregor

On Tue, 2003-10-07 at 01:14, Leopold Toetsch wrote:
> Will Coleda <[EMAIL PROTECTED]> wrote:
> > As I realize my example is incorrect. =-)
> 
> > Is there any reason not to make the ".pcc_call _parse" work also,
> > rather than having to construct a .Sub?
> 
> We probably could construct a Sub PMC under the hood. The reason for 2
> stages is efficiency though: If you are generating and calling a Sub in
> a loop, there is unneeded overhead.
> So the rule is: Construct your Sub early. But there are of course
> examples, where there isn't any loop.
> 
> leo
-- 
Gregor Purdy                            [EMAIL PROTECTED]
Focus Research, Inc.               http://www.focusresearch.com/

Reply via email to