You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is in reference to the subscribe method where you "for (Subscription subscription : subscriptions)"
it would be better to just do subscriptions.contains(newSubscription) right?
Using the syntactic sugar for loop is a tiny performance hit in Android anyway... http://developer.android.com/training/articles/perf-tips.html#Loops (last line of section), there was also a presentation I saw somewhere where they said the syntactic sugar for loop also uses more memory.
The text was updated successfully, but these errors were encountered:
This is in reference to the subscribe method where you "for (Subscription subscription : subscriptions)"
it would be better to just do subscriptions.contains(newSubscription) right?
Using the syntactic sugar for loop is a tiny performance hit in Android anyway...
http://developer.android.com/training/articles/perf-tips.html#Loops (last line of section), there was also a presentation I saw somewhere where they said the syntactic sugar for loop also uses more memory.
The text was updated successfully, but these errors were encountered: