Skip to content

[0.2.0] Unified compiled-page and surface cache budget partition #360

Description

@cursor

Parent: #356

Harvest from gh-143 PDFPageCacheBudget / tst_pagesurfacebudgettest.cpp::partitionsSingleLimit.

gh-143 split a single byte limit 50/50 between compiled pages and rendered surfaces under setCacheLimit(). On dev, PageSurfaceCoordinator owns maxAdmittedBytes but there is no unified partition with the document session compile cache.

Acceptance

  • One byte-budget authority partitions between compile cache and admitted surfaces
  • Combined resident cost cannot exceed the configured limit
  • Unit test for partition math and admission under shared pressure

Reference

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions