摘要: Performance Tips 1.In this document Avoid Creating Unnecessary Objects 避免多余的对象 Prefer Static Over Virtual 多用static方法,它比其它方法快15%-20% Use Static Final F 阅读全文
posted @ 2016-04-20 16:55 f9q 阅读(419) 评论(0) 推荐(0) 编辑
摘要: JNI Tips 1.In this document JavaVM and JNIEnv Threads jclass, jmethodID, and jfieldID Local and Global References UTF-8 and UTF-16 Strings Primitive A 阅读全文
posted @ 2016-04-20 16:40 f9q 阅读(1111) 评论(0) 推荐(0) 编辑
摘要: Keeping Your App Responsive 官方文档 https://developer.android.google.cn/topic/performance/vitals/anr 1.In this document What Triggers ANR? How to Avoid A 阅读全文
posted @ 2016-04-20 16:29 f9q 阅读(324) 评论(0) 推荐(0) 编辑