[poppler] Performance of the wrappers

Frank Meerkötter frank at meerkoetter.org
Wed Feb 22 14:05:04 PST 2006


Kristian Høgsberg wrote:

Hi,

>> in the current CVS all wrappers are dead slow when copying the bitmap
>> data of the finished pdf. The reason for this is that they no longer use
>> a memcpy but two nested getPixel()/setPixel() loops.
>
[...]

>
> Is this actually something that shows up on a profile?  I'd think that 
> actually rendering the PDF page would be much more time consuming than 
> just copying the contents, even if the copying wasn't implemented 
> optimally.

I haven't profiled this. It was just my impression when is switched from 
poppler-0.4.2 to poppler-cvs.
Copying is for me more critical because i try to use poppler on a slow 
device and i might display several
previews till the final image is ready.

Regards,
   Frank


More information about the poppler mailing list