[Okular-devel] Patch: greedy behaviour for prerendering

Sebastian Rose s.rose at semkath.de
Sun Nov 13 10:49:00 UTC 2011


Hello,

after discovering that the aggressive behaviour in okular is not that 
aggressive at all (preloads only the next 2 pages) I've written the 
attached patch to add a "Greedy" option. It preloads every page into 
memory. The memory requirements for a 580 page (color) PDF file was 
about 1GB, the bulk of it for the pixmaps. Other (like unloading) 
behaviour is like "Aggressive".

kind regards,
semkath
-------------- next part --------------
A non-text attachment was scrubbed...
Name: greedy.patch
Type: text/x-patch
Size: 14229 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20111113/b93bcb08/attachment.patch>


More information about the Okular-devel mailing list