Skip to content

Conversation

@KristofferC
Copy link
Member

@KristofferC KristofferC commented Nov 10, 2025

There is no point checking this condition in every loop body when we can just split up the loop into a couple with "constant" bodies. This was decently hot in my profiling. This makes it about 7x faster and have around a 10% end to end difference in my use case.

This was decently hot in my profiling. This makes it about 7x faster and have around a 10% end to end difference in my use case.
@codecov
Copy link

codecov bot commented Nov 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.55%. Comparing base (9dd8ed1) to head (0e74316).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #184      +/-   ##
==========================================
+ Coverage   97.41%   97.55%   +0.13%     
==========================================
  Files           4        4              
  Lines         812      817       +5     
==========================================
+ Hits          791      797       +6     
+ Misses         21       20       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@KristofferC KristofferC merged commit 5b4f6a9 into master Nov 10, 2025
17 checks passed
@KristofferC KristofferC deleted the kc/optimze_checksum_field branch November 10, 2025 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants