Skip to content

Reuse buffers in FdmDividendHandler dividend application - #2693

Open
PureSaber wants to merge 1 commit into
lballabio:masterfrom
PureSaber:fix/fdm-dividend-handler-buffers
Open

Reuse buffers in FdmDividendHandler dividend application#2693
PureSaber wants to merge 1 commit into
lballabio:masterfrom
PureSaber:fix/fdm-dividend-handler-buffers

Conversation

@PureSaber

Copy link
Copy Markdown
Contributor

Summary

  • Reuse mutable aCopy_ and tmp_ arrays instead of allocating on each dividend time step.
  • Early return when t is not a dividend time.

Test plan

  • CI FD dividend option tests

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@CLAassistant

CLAassistant commented Jul 28, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants