You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "rmuir (via GitHub)" <gi...@apache.org> on 2023/05/12 02:43:53 UTC

[GitHub] [lucene] rmuir commented on pull request #12286: toposort use iterator to avoid stackoverflow

rmuir commented on PR #12286:
URL: https://github.com/apache/lucene/pull/12286#issuecomment-1545027201

   i really like it, thanks for doing this! 
   
   code is still simple, but more robust (heap instead of stack!) and the cycle detection is a really nice bonus. thanks for the unit test for that.
   
   i made a cosmetic suggestion.
   
   Also, should we add a basic test that the toposort works correctly to TestOperations? TestAutomaton does exercise it too, but I'm not sure how well or how easy to debug if it fails :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org