-
Notifications
You must be signed in to change notification settings - Fork 13
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
add insert! #75
add insert! #75
Conversation
Codecov Report
@@ Coverage Diff @@
## main #75 +/- ##
==========================================
+ Coverage 86.64% 87.00% +0.36%
==========================================
Files 1 1
Lines 322 331 +9
==========================================
+ Hits 279 288 +9
Misses 43 43
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM; we don't need to worry about the copy-on-write business at all here or in push!
, right?
Copy-on-write is handled here https://github.com/JuliaData/PooledArrays.jl/blob/main/src/PooledArrays.jl#L567, which gets called if a new entry needs to be added. However |
Ah, that's right; I missed that it gets handled from the |
OK - I have added comments (I think it does not make much sense to add a docstring as it would be the same as for general |
Thank you! I will make a release. |
Fixes #74