-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/Do not use Res
pointers in SE
#1460
Fix/Do not use Res
pointers in SE
#1460
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1460 +/- ##
==========================================
- Coverage 36.44% 36.44% -0.01%
==========================================
Files 304 304
Lines 17847 17843 -4
==========================================
- Hits 6505 6502 -3
+ Misses 10790 10789 -1
Partials 552 552
Continue to review full report at Codecov.
|
No improvements according to provided results. |
What improvements did you expect? We have got rid of one allocation for one |
@carpawell oh I meant no improvements between 2 provided results in PR desc. |
Yes, no improvements, so I described why I have decided to choose the first one. |
@carpawell rebase, please |
#1418 must be merged first. |
Done, also, reorganized benchmark a little. |
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Only updated the changelog. |
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Based on and blocked by #1418.
Benchmark of the
meta.Get
:Comparing just
*Res
->Res
:Comparing
Get(Prm) *Res
->Get(Prm, *Res)
:Seems almost equal but I do not like creating
Res
struct on the caller side and do not see real use cases when that could help much.