Skip to content

Ruby: Lower access path limit to 1 for OrmTracking - #15866

Merged
hvitved merged 1 commit into
github:mainfrom
hvitved:ruby/orm-tracking-ap-limit
Mar 13, 2024
Merged

hvitved merged 1 commit into
github:mainfrom
hvitved:ruby/orm-tracking-ap-limit

Conversation

@hvitved

@hvitved hvitved commented Mar 11, 2024 •

Copy link
Copy Markdown
Contributor

The data flow loop used in OrmTracking is known to be quite slow/infeasible on some DBs, so this PR reduces the access path limit from 5 to 1. This is the same access path limit as used in type tracking, but flow precision is generally much better (call context sensitivity, full support for flow summaries, full support for captured variables, etc.).

@hvitved
hvitved force-pushed the ruby/orm-tracking-ap-limit branch 2 times, most recently from 31b2c81 to 9588ca6 Compare March 11, 2024 11:59
@hvitved hvitved changed the title Ruby: Lower access path limit to 2 for OrmTracking Ruby: Lower access path limit to 1 for OrmTracking Mar 11, 2024
@hvitved
hvitved force-pushed the ruby/orm-tracking-ap-limit branch from 9588ca6 to 695e728 Compare March 12, 2024 13:58
@hvitved hvitved added the no-change-note-required This PR does not need a change note label Mar 13, 2024
@hvitved
hvitved marked this pull request as ready for review March 13, 2024 09:39
@hvitved
hvitved requested a review from a team as a code owner March 13, 2024 09:39
@hvitved
hvitved merged commit 4085c8e into github:main Mar 13, 2024
@hvitved
hvitved deleted the ruby/orm-tracking-ap-limit branch March 13, 2024 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-change-note-required This PR does not need a change note Ruby

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants