Affichage des articles dont le libellé est perform. Afficher tous les articles
Affichage des articles dont le libellé est perform. Afficher tous les articles

mardi 18 août 2015

Is it better to perform the same calculation multiple times?



When optimizing onDraw of a custom view, I found alot of object allocations in the onDraw method of that library.

What I don't know is if it's more efficient to calculate the same calculation multiple times or allocate one calculation to an object an reuse that object?

I want to hear your opinion about this, since it will be allot of work to change this "property" of the code.

Thanks,

Tim



dimanche 9 août 2015

Asus Zenfone 2 ZE551ML batter perform better in cold conditioning



Hello guys,

I noticed much better improvement over battery life while in cold condition room,i charged my phone and I was surfing internet with wi-fi and location on for 2 hours,and it was on 99% after that 2 hours!
So I think asus developers should mostly work on decreasing of battery overheat...Phone was cold for the first time while using him for 2 hours and performed great in battery life...
I know this sounds stupid,but I think when batter overheats it drains quicker for sure.
Thank you!