Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
rust-lang
/
rust
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
15.5k
Star
118k
Code
Issues
5k+
Pull requests
1.4k
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Replace dominators algorithm with simple Lengauer-Tarjan
- #85013
#85013
Merged
bors
merged 11 commits into
rust-lang:master
rust-lang/rust:master
from
Mark-Simulacrum:dominators-bitset
Mark-Simulacrum/rust:dominators-bitset
Copy head branch name to clipboard
Dec 7, 2021
Conversation
Commits
11
(11)
Checks
Files changed
Merged
Replace dominators algorithm with simple Lengauer-Tarjan
#85013
bors
merged 11 commits into
rust-lang:master
rust-lang/rust:master
from
Mark-Simulacrum:dominators-bitset
Mark-Simulacrum/rust:dominators-bitset
Copy head branch name to clipboard
Commits
Commits on Dec 6, 2021
Implement the simple Lengauer-Tarjan algorithm
Show description for e8d7248
Mark-Simulacrum
committed
e8d7248
View commit details
Copy full SHA for e8d7248
Browse repository at this point
Optimization: Merge parent and ancestor arrays
Show description for c82fe0e
Mark-Simulacrum
committed
c82fe0e
View commit details
Copy full SHA for c82fe0e
Browse repository at this point
Optimization: process buckets only once
Mark-Simulacrum
committed
7379d24
View commit details
Copy full SHA for 7379d24
Browse repository at this point
Avoid inserting into buckets if not necessary
Mark-Simulacrum
committed
92186cb
View commit details
Copy full SHA for 92186cb
Browse repository at this point
Use preorder indices for data structures
Show description for 7d12767
Mark-Simulacrum
committed
7d12767
View commit details
Copy full SHA for 7d12767
Browse repository at this point
Remove separate RPO traversal
Show description for 8991002
Mark-Simulacrum
committed
8991002
View commit details
Copy full SHA for 8991002
Browse repository at this point
Optimize: reuse the real-to-preorder mapping as the visited set
Mark-Simulacrum
committed
345ada0
View commit details
Copy full SHA for 345ada0
Browse repository at this point
Use variables rather than lengths directly
Mark-Simulacrum
committed
cc63ec3
View commit details
Copy full SHA for cc63ec3
Browse repository at this point
Create newtype around the pre order index
Mark-Simulacrum
committed
2b63059
View commit details
Copy full SHA for 2b63059
Browse repository at this point
Avoid using Option where values are always Some
Mark-Simulacrum
committed
3187480
View commit details
Copy full SHA for 3187480
Browse repository at this point
Commits on Dec 7, 2021
Annotate comments onto the LT algorithm
Mark-Simulacrum
committed
15483cc
View commit details
Copy full SHA for 15483cc
Browse repository at this point
You can’t perform that action at this time.