Android 上的 H2 数据库与 SQLite

发布于 2024-09-11 07:03:02 字数 1699 浏览 2 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

素年丶 2024-09-18 07:03:02

事情比我预想的要好得多。我现在有一部 Android 手机(HTC Desire,Android 2.2),我进行了第一次测试。

到目前为止,打开和关闭数据库相对较慢(第二次打开现有数据库需要 0.2 秒,关闭大约 0.2 秒),但除此之外,即使 Dalvik VM 尚未达到预期,H2 在 Android 上的表现也相当不错作为桌面 JVM 进行了优化。现在给出具体数字还为时过早,但 Android 现在是受支持的平台。

Things are much better than I have expected. I now have an Android phone (HTC Desire, Android 2.2) and I made a first test.

Opening and closing a database is relatively slow so far (opening an existing database for the second time takes 0.2 seconds, closing about 0.2 seconds), but otherwise it looks like H2 performs quite well on Android, even if the Dalvik VM is not yet as optimized as a desktop JVM. It's too early to give concrete numbers, but Android is now a supported platform.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文