-
Notifications
You must be signed in to change notification settings - Fork 622
[Common] Adding overflow short-circuit #13336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
O2 linter results: ❌ 0 errors, |
|
Ping @fgrosa |
|
@fgrosa Please let me know if this is fine, then we could merge. The CI failures seem unrelated. |
|
Hi @rahulverma012 I think that this fixes the longstanding issue with trackQA indices, can you check if it's fine? |
At least its a workaround for now avoiding segfaults. Ultimately its better to find the root cause why the indices can go out of bounds, but I'm no expert here (and as mentioned before, I didn't investigate any further...). Once Rahul agrees maybe we could have it merged @ddobrigk ? |
|
@rahulverma012 Please give us a reaction, if possible I would like to get this merged and close this PR |
|
Hi @ChSonnabend, @fgrosa, Thank you |
To explain: Thank you |
Excellent, thank you! This was my suspicion and the reason why I implemented it in this way. I was just not sure if there was a smarter away to avoid this workaround. But from what I understand the size of the two tables will realistically always mismatch. In this case this is probably the best possible solution. @ddobrigk ready for the merge from my side then too 👍 |
|
Hi @ktf can we merge this please? |
|
Merging. The whole code could probably use some cleanup and done in 2 N logM rather than NxM, e.g. by exploiting the fact that the list can be presorted. The code also misses some "reserve" statement, AFAICT. |
This avoids index overflows encountered in my AO2Ds