
Episode 22
022: Effective Java for Android developers : Item 5
In this mini Fragment, we introduce Joshua's fifth Item: Avoid creating unnecessary objects. Stay tuned for more items from our "Effective Java for Android developers" Fragment series.
Fragmented - AI Developer Podcast · Spec
November 20, 201512m 28s
Audio is streamed directly from the publisher (cdn.simplecast.com) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.
Show Notes
In this mini Fragment, we introduce Joshua's fifth Item: Avoid creating unnecessary objects.
Stay tuned for more items from our "Effective Java for Android developers" Fragment series.
Show Notes
Avoid creating unnecessary objects
- Google says - Avoiding creating unnecessary objects too
- Episode 10 with Michael Bailey - String optimization
Snippet to demonstrate AutoBoxing problems
// sum of all positive values
Long sum = 0L;
for (long i=0; i Integer.MAX_VALUE; i++) {
sum+=i;
}
Contact:
- @fragmentedcast [twitter.com]
- @donnfelker [twitter.com]
- @kaushikgopal [twitter.com]
Topics
javaandroiddeveloperpodcast