SPUG: print statement taking ridiculously long

Fred Morris m3047 at m3047.net
Tue Jul 23 10:39:14 PDT 2013

On Tuesday 23 July 2013 10:32, Andrew Sweger wrote:
> I'm guessing that $big_string is built up by appending/concatenating
> repeatedly.

How did you guess? ;-)

Yes, the wonders of the Fibonacci series... We changed that before discovering 
that the print statement was where the real problem was. It was actually 
stringifying XML::Generator output.

Hrmmm... come to think of it I wonder if $big_string is *really* a string, or 
is really that XML::Generator output object which behaves like a string? 



More information about the spug-list mailing list