Re: Speeding up pdf:api2

"spinningwebz2002" <spinningwebz2002-/[email protected]> Mon, 08 Sep 2008 19:10:35 -0000
Newsgroups gmane.comp.lang.perl.modules.pdfapi2
Message-ID <[email protected]>
--- In [email protected], "Mr. Shawn H. Corey" 
<shawnhcorey@...> wrote:
>
> On Thu, 2008-09-04 at 11:54 +0000, spinningwebz2002 wrote:
> > Interesting thing. Without trimming the file, 
PDF::API2::Util::BEGIN 
> > takes 9.2% of the time in the execution, after trimming the file 
> > there is no entry for it. But, the execution time goes up a 1/2 
> > second?
> 
> Yes, when I was looking through the code, I noticed that it had 
it's own
> way of deferring loading.  I thought, "Why doesn't it just use
> AUTOLOAD?"  It turns out that it's way is faster.
> 
> I don't fully understand what it's doing and I don't have time to 
dig
> deeper but I realize that it has a sophisticated mechanism and 
getting
> it to load faster would involve considerable time and effort.
> 
> 
> -- 
> Just my 0.00000002 million dollars worth,
>   Shawn
> 
> "Where there's duct tape, there's hope."
>         Cross Time Cafe
> 
> "Perl is the duct tape of the Internet."
>         Hassan Schroeder, Sun's first webmaster
>

Has anyone ever run a script that used PDF:API2 under mode_perl? Does 
this slow startup go away?

Bill