Glad it was usefull. You might also be able to reduce some similar or
redundant code in different lines()/string()/file()/print() calls in
packages such as Mail::Message::Body::Multipart and
Message::Construct::Text. I noticed this when Body::Multipart->string
leaked, but Body::Lines did not and tracked it down to the first one using
IO::Lines
After your next release, maybe a few users can chime in if they seen any
noticeable perf improvements or if they still see any leaks
Thanks,
Todd
----- Original Message -----
From: "Mark Overmeer" <Mark@xxxxxxxxxxxx>
To: "Todd Richmond" <richmond@xxxxxxxxxxxxxx>
Cc: "Mail-Box Mailinglist" <mailbox@xxxxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, June 10, 2003 5:56 AM
Subject: Re: Fast IO::Scalar replacement
> * Todd Richmond (richmond@xxxxxxxxxxxxxx) [030529 03:28]:
> > As promised, here is my replacement for IO::Scalar that is about 20x
faster
> > for getline/getlines calls and leak free.
>
> I hope you will release this code as a separate package in the future,
> but for now I have included it in Mail::Box as Mail::Box::FastScalar.
> It seems to work...
> --
> Thanks for the contribution,
>
> MarkOv %-]
>
> ------------------------------------------------------------------------
> drs Mark A.C.J. Overmeer MARKOV Solutions
> Mark@xxxxxxxxxxxx solutions@xxxxxxxxxxxx
> http://Mark.Overmeer.net http://solutions.overmeer.net
>
|