Skip to main content

Module optimized_reader

Module optimized_reader 

Source
Expand description

Optimized PDF Reader with LRU caching

This module provides an optimized version of PdfReader that uses an LRU cache instead of unlimited HashMap caching to control memory usage.

Structs§

OptimizedPdfReader
Optimized PDF reader with LRU caching

Functions§

estimate_object_size
Helper function to get memory usage info for a PdfObject