Closed smehringer closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
seqan3 | ✅ Ready (Inspect) | Visit Preview | Nov 25, 2022 at 8:44AM (UTC) |
Base: 98.22% // Head: 98.22% // No change to project coverage :thumbsup:
Coverage data is based on head (
b1709f3
) compared to base (d98c12d
). Patch coverage: 100.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Replacing the for-loop with [...] works even better for me. Can you double check?
Only very little, could be noise for me but if it is better in your case, let's take it.
constexpr auto is_ignored = is_space || is_digit;
in the beginning of the function and thenelse if (is_ignored(*it))
also has some effect, but might just be noise
A little worse for me, probably noise. I left it out.
I had this lying around when cleaning up my branches.
On my PC with GCC 11.3 in was a noisy 5% performance gain on reading FASTA from stream.
I still think it's fine to merge, as it's a small change and makes sense. It avoids an if clause in case the character is an alphabet character, which in a normal FASTA file is most often the case.