注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
Android Developers > Best Practices for Performance > Performance Tips > Improving Layout Perform... Android Developers > Best Practices for Performance > Performance Tips > Improving Layout Performance の中に、Optimizing Layout Hierarchiesという項目があります。 簡単に要約すると Viewのネストを深くするな。narrow and deepよりshallow and wideなレイアウトであれ。 LinearLayoutのlayout_weightは重い。描画時に2回計算してしまう。(measure twice) ということらしいです。 コードレビューの時も結構意識して、極力RelativeLayoutを使ってレイアウトを構成するようにしていたのですが、ふと「実際実機で触るとどれだけ違うんだろう」と疑問に思ったので検証してみることにしました。 #検証アプリ 検
2015/01/23 リンク