https://kotlinlang.org logo
#android
Title
# android
p

Paul Woitaschek

05/25/2017, 9:10 AM
Because one is a phone and the other isnt?
🤔 7
j

joachim.reiss.

05/25/2017, 9:33 AM
paulwoitaschek: yes obviously but I thought there might be another reason I wasnt aware of…
p

Paul Woitaschek

05/25/2017, 9:33 AM
Yeah, my answer was obviously completely arrogant 🙂
Ram, GC & CPU are all issues
Also check your android log for GC messages
When I'm scanning media for my audiobook player project it runs a lot
j

joachim.reiss.

05/25/2017, 9:37 AM
of course I have some GC stuff going on and I avoid creating new objects all the time while in this big iteration loop, I also tried to init lists to the size they will need.
p

Paul Woitaschek

05/25/2017, 9:38 AM
If you post your implementation we might give tips to improve performance
👍 1
j

joachim.reiss.

05/25/2017, 9:39 AM
its not open source yet but if you care to have a look already I can give you access on bitbucket ?
p

Paul Woitaschek

05/25/2017, 9:45 AM
sure
j

joachim.reiss.

05/25/2017, 9:49 AM
I added you
have a look