mayya-sharipova edited a comment on pull request #267: URL: https://github.com/apache/lucene/pull/267#issuecomment-911574890
@msokolov Thanks for the explanation. Your idea is clear to me and makes sense, and I will implement it in the following PR. I was just thinking if having only `level0Node[]` is enough. I see several benefits with it: - no need for an extra array `nextLevelNode[]` and no need to keep it updated - `searchLevel` consistently returns nodes ids of 0th level Extra work: need to do binary search to map node0 ids to the current level's node ids for search to start. WDYT? -- 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-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org