Commit d2fd4fe
Apply suggestion from @james-d-mitchell
If I understand correctly, InDegrees is faster than InDegreeOfVertexNC here due to caching behaviour where the in degrees of the digraph are computed once then looked up from cache, as opposed to the other function which has to recompute for each input vertex.
Co-authored-by: James Mitchell <james-d-mitchell@users.noreply.github.com>1 parent 8ae6cba commit d2fd4fe
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2733 | 2733 | | |
2734 | 2734 | | |
2735 | 2735 | | |
2736 | | - | |
| 2736 | + | |
2737 | 2737 | | |
2738 | 2738 | | |
2739 | 2739 | | |
| |||
0 commit comments