Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: avoid exponential require-atomic-updates traversal (fixes #10893) #10894

Merged
merged 2 commits into from Sep 28, 2018

Commits on Sep 26, 2018

  1. Fix: avoid exponential-time no-atomic-updates traversal (fixes #10893)

    Previously, the `no-atomic-updates` rule would traverse over every path in the control flow graph, resulting in a runtime that was exponential in the number of edges in the graph. This commit updates the rule to use a lattice-based [dataflow analysis](https://en.wikipedia.org/wiki/Data-flow_analysis) algorithm, similar to the algorithms used by optimizing compilers.
    not-an-aardvark committed Sep 26, 2018
    Configuration menu
    Copy the full SHA
    6fc397d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de6d8f2 View commit details
    Browse the repository at this point in the history