[php-src] PR #12528: Implement iterative Pearce's SCC finding algoritm
| From: | dstogov | Date: | Thu, 26 Oct 2023 13:06:28 +0000 |
| Subject: | [php-src] PR #12528: Implement iterative Pearce's SCC finding algoritm | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23997@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12528
Author: dstogov
This fixes https://github.com/php/php-src/issues/11795
The proposed algorithm is a variation of Algorithm 4 described in https://whileydave.com/publications/Pea16_IPL_preprint.pdf
. However this description has a bug (vS stack should be split into two stacks).
The fixed reference implementations are available at https://github.com/DavePearce/StronglyConnectedComponents