Skip to content

Pass arguments by references for constructors and methods#197

Merged
pavel-shirshov merged 1 commit intosonic-net:masterfrom
pavel-shirshov:pavelsh/perf_ref
Apr 28, 2018
Merged

Pass arguments by references for constructors and methods#197
pavel-shirshov merged 1 commit intosonic-net:masterfrom
pavel-shirshov:pavelsh/perf_ref

Conversation

@pavel-shirshov
Copy link
Contributor

Pass complex arguments by references, don't copy them.

That will save us some time + reduce number of allocations/deallocations.

I've fixed also some #includes which were wrong, use find specially designed for characters

@pavel-shirshov pavel-shirshov merged commit 07a03cb into sonic-net:master Apr 28, 2018
@pavel-shirshov pavel-shirshov deleted the pavelsh/perf_ref branch April 28, 2018 00:47
prgeor pushed a commit to prgeor/sonic-swss-common that referenced this pull request Feb 27, 2025
…-net#197)

Unifying the platform api for get_pcie_aer_stats with PcieBase
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