perf: Enhance signing performance by caching scalar representation in PrivateKey - #242
Conversation
📝 WalkthroughWalkthroughAdds caching of the private-key scalar to Edwards cache structures and PrivateKey, adjusts constructors/accessors to populate and use the cached scalar for signing, and changes a PairCode state to heap-allocate ephemeral keypairs (Box). Changes
Sequence Diagram(s)(Skipped — changes are internal caching and a local enum field type change; no new multi-component sequential flow to visualize.) Estimated Code Review Effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
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 CodeRabbit
Performance
Refactor
Behavior
✏️ Tip: You can customize this high-level summary in your review settings.