poppler doesn't cache heavy objects
Submitted by Pavel Ignatov
Assigned to poppler-bugs
When displaying huge pages they are usually rendered piece by piece using calls to the page_renderer::render_page() with appropriately calculated resolution and coordinates. When for example a pdf-page contains a huge jpeg 2000 imgage it can take several dozens of seconds to render. It seems it because on every render poppler restores a bitmap for this jpeg 2000 from scratch. As a result, when the viewer which renders big pages piece by piece spends dozens of seconds on every page scroll.