guava icon indicating copy to clipboard operation
guava copied to clipboard

Add tests to guarantee no need copyOf map

Open samukce opened this issue 4 years ago • 4 comments

I added tests to guarantee that unnecessary maps are not created given some possibles performance issues mentioned here #3467. Though I was not able to create a test scenario to simulate the issue. So, opening this PR to have at least some explicit tests narrowing this behavior.

samukce avatar Jun 20 '20 04:06 samukce

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

googlebot avatar Jun 20 '20 04:06 googlebot

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

googlebot avatar Jun 20 '20 04:06 googlebot

hello @cpovirk, do you think that is worth to merge those tests? otherwise, we can close the PR.

samukce avatar Sep 18 '22 19:09 samukce

@cpovirk do you think it's worthy to add those tests or should we close it?

samukce avatar Dec 27 '23 13:12 samukce