perf(syn): use switch for hot bits4 usedBits checks#287
Conversation
Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe pull request refactors the control flow in the Possibly related PRs
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by cubic
Optimized the
syndecoder’sbits4()hot path by replacing consecutiveifchecks with aswitchonusedBitsto reduce branching and improve performance. No functional changes.Written for commit acfbc6e. Summary will update on new commits.
Summary by CodeRabbit