Repository navigation
Repeated code discovery is faster through context-aware PHPDoc memoization and one AST preparation traversal, followed by model extraction from recorded declarations.
- Cache PHPDoc parsing by text, namespace, and import aliases, with bounded memory use.
- Return independent docblocks so removing a tag cannot affect later parses.
- Read current file contents directly, preventing stale results after multiple edits within the same second.
- Preserve legacy AST parent links, name resolution, and PHPDoc contexts; add compatibility and cache-turnover regressions.
- Include a reproducible benchmark harness and measurements with their limitations.
The declared voku/simple-cache dependency remains unchanged; the parser no longer uses it.
Merged in PR #177. Release commit: af29695af80844596e76b54fa9427a1794fe1cf0.
The repository-owned CI passed on this exact master commit across PHP 8.1–8.5 and php-parser 4/5, including native style, locked runtime dependency floor, and coverage aggregation.