As always, great writeup--compare_by_identity is totally new to me and looks really useful!
compare_by_identity
Just cuz I'm nitpicky--small typo in the 2nd part of compare_by_identity:
After calling compare_by_identity, the keys are considered different, the therefore do not overwrite:
Thanks for sharing this! :)
Thanks, Isa! Fixed. I like nitpicky, so if you see anything else, squawk. Or open a PR if you like.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
As always, great writeup--
compare_by_identity
is totally new to me and looks really useful!Just cuz I'm nitpicky--small typo in the 2nd part of
compare_by_identity
:Thanks for sharing this! :)
Thanks, Isa! Fixed. I like nitpicky, so if you see anything else, squawk. Or open a PR if you like.