3

Our app uses the foursquare API, and I'm interested in how compiling with armv7 architecture impacts:

  • location accuracy
  • speed (floating point calculations)

Does compiling with armv6 architecture provide any relative benefit in terms of location accuracy or speed of floating point calculations?

Has anyone tested this to measure the actual difference? Or is it too small to be of any consequence?

I'm wondering if it's worth it to use a hybrid armv6/armv7 build to improve these two performance elements, even if it results in a nominal increase in the app filesize?

Thanks.

4

2 に答える 2

4

armv6 アーキテクチャでコンパイルすると、位置の精度や浮動小数点計算の速度に関して相対的な利点がありますか?

ここでのより大きな問題は次のとおりだと思います。アプリが古い ARMv6 ベースのハードウェアで実行されなくても気にしますか? ARMv7 のみのビルドを作成すると、アプリがサポートするデバイスの数が制限されるためです。

それとも、小さすぎて何の影響もありませんか?

すべては状況に依存します... しかし、私の経験では、ARMv6 ベースのデバイスと ARMv7 ベースのデバイスのクロック速度は、コンパイラが 2 つのデバイス間で行う最適化の違いよりもはるかに重要な結果をもたらします。

ハイブリッド armv6/armv7 ビルドを使用する価値があるかどうか疑問に思っています

これがデフォルトであり、両方をビルドしない特別な理由がない限り、ARMv6 と ARMv7 ベースのデバイスの両方で最良の結果が保証されます。最大の互換性が必要な場合の唯一の代替手段は、ARMv6 のみをビルドすることです。これにより、コンパイラが ARMv7 用に最適化できる場所があれば、それらの最適化を失うことになります。

于 2012-01-07T19:55:54.153 に答える