Skip to content

[TS PBT] Cache source resolution within each mapping - #565

Open
CaelmBleidd wants to merge 1 commit into
mainfrom
caelmbleidd/pbt-scoped-source-cache
Open

CaelmBleidd wants to merge 1 commit into
mainfrom
caelmbleidd/pbt-scoped-source-cache

Conversation

@CaelmBleidd

Copy link
Copy Markdown
Member

Repeated PBT coverage mapping resolved the same source paths thousands of times. Cache source candidates within one mapping operation, and create fresh normalizers for each map() call so source edits and symlink retargets remain visible.

Validation: all 63 source-mapping tests and Detekt main/test passed, including regressions for changed source offsets and a retargeted symlink. The change is three files (+62/-6), independent of the campaign and selector stacks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant