Timeline for Efficiency of List.size() > 0 vs. !List.isEmpty()
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 23, 2017 at 12:37 | history | edited | CommunityBot | replaced http://stackoverflow.com/ with https://stackoverflow.com/ | |
| Mar 10, 2015 at 15:59 | comment | added | Adrian Larson♦ | If you read my answer you will notice that I do not call both methods on the same list in the same execution. No risk of caching. | |
| Mar 10, 2015 at 9:17 | history | answered | Mark Keats | CC BY-SA 3.0 |