Skip to content

ram_pcd_message: pass libff::bit_vector by const reference to avoid copies#224

Open
MozirDmitriy wants to merge 2 commits intoscipr-lab:masterfrom
MozirDmitriy:fix/ram-pcd-message-bitvector-const-ref
Open

ram_pcd_message: pass libff::bit_vector by const reference to avoid copies#224
MozirDmitriy wants to merge 2 commits intoscipr-lab:masterfrom
MozirDmitriy:fix/ram-pcd-message-bitvector-const-ref

Conversation

@MozirDmitriy
Copy link
Copy Markdown

  • Replace pass-by-value with const references for bit_vector parameters in ram_pcd_message constructor (root_initial, root, cpu_state, cpu_state_initial).
  • Eliminates unnecessary copies while preserving API behavior and call sites.
  • Aligns with prevalent codebase style where bit vectors are passed by const reference.

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.

1 participant