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

Simplify emptiness checks #1316

Merged
merged 2 commits into from
Sep 4, 2023
Merged

Conversation

liblit
Copy link
Contributor

@liblit liblit commented Sep 4, 2023

Don't ask for the exact size of a Collection or length of a String when all we really care about is (non-)emptiness.

Don't ask for the exact size of a `Collection` or length of a `String`
when all we really care about is (non-)emptiness.
@liblit liblit requested a review from msridhar September 4, 2023 14:32
@liblit liblit self-assigned this Sep 4, 2023
@liblit liblit added the cleanup API cleanup and refactoring label Sep 4, 2023
@liblit liblit enabled auto-merge (rebase) September 4, 2023 14:32
@github-actions
Copy link

github-actions bot commented Sep 4, 2023

Test Results

   451 files  ±0     451 suites  ±0   2h 43m 19s ⏱️ + 3m 36s
   730 tests ±0     713 ✔️ ±0  17 💤 ±0  0 ±0 
2 804 runs  ±0  2 734 ✔️ ±0  70 💤 ±0  0 ±0 

Results for commit 7b3e9ff. ± Comparison against base commit 7a2a511.

@liblit liblit merged commit 6a24203 into wala:master Sep 4, 2023
6 checks passed
@liblit liblit deleted the simplify-emptiness-checks branch September 4, 2023 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup API cleanup and refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants