Skip to content
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

Remove unnecessary memory alloc on rebalance when returing a tuple #7

Merged
merged 2 commits into from
Jul 29, 2021

Conversation

krynju
Copy link
Owner

@krynju krynju commented May 22, 2021

#5 (comment)

Fixed, but needs better performance measurement.
Mem alloc is no longer there, but on the old benchmark there's no observable performance difference

@codecov
Copy link

codecov bot commented May 22, 2021

Codecov Report

Merging #7 (26fefe6) into master (1c3497d) will increase coverage by 0.07%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
+ Coverage   90.98%   91.05%   +0.07%     
==========================================
  Files           4        4              
  Lines         255      257       +2     
==========================================
+ Hits          232      234       +2     
  Misses         23       23              
Impacted Files Coverage Δ
src/tree.jl 90.27% <100.00%> (+0.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1c3497d...26fefe6. Read the comment docs.

@krynju krynju linked an issue May 22, 2021 that may be closed by this pull request
@krynju
Copy link
Owner Author

krynju commented May 22, 2021

no difference in performance, not merging
image

@krynju krynju closed this May 22, 2021
@krynju
Copy link
Owner Author

krynju commented Jul 17, 2021

Reopening as it makes sense to have it done well, just need to improve the macro quality

@krynju krynju reopened this Jul 17, 2021
@krynju krynju marked this pull request as draft July 17, 2021 11:02
@krynju krynju changed the title fix rebalance fun Remove unnecessary memory alloc on rebalance when returing a tuple Jul 24, 2021
@krynju krynju marked this pull request as ready for review July 29, 2021 16:19
@krynju krynju merged commit ba274f2 into master Jul 29, 2021
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.

Memory alloc on rebalancing the structure
1 participant