android.net vs java.net and the different URI classes

后端 未结 1 938
一整个雨季
一整个雨季 2021-01-02 23:20

I\'m writing an application with a model object that will expose a Restful interface to some web services. I\'ve noticed that in Android there is a java.net.URI and an andro

相关标签:
1条回答
  • 2021-01-02 23:56

    Yes, there will be performance benefits. The android team doesn't have to conform to the same backwards compatibility restrictions when coding the android.net package that they do when they're implementing the java.net package. Therefore they can make better optimizations.

    0 讨论(0)
提交回复
热议问题