FYI - these compiler optimizations especially affect scope-local variables.

Sometimes it helps if you move variable declaration from local scope to function scope.

26.07.2010 21:46, ClarkBattle пишет:
Great insights.  I had broken everything out onto separate lines just
to force the compiler to evaluate each separately.  I never figured
that it would get all smart and ignore what I wrote.   I refactored
the code and now it runs as expected.

Clark



--
Kostya Vasilev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to