weixin_39859394
weixin_39859394
2020-12-09 02:25

Add ORMLite comparison

Pretty big checkin because I had to change everything to work w/ Collections instead of Lists to make ORMLite integration easier.

该提问来源于开源项目:Rightpoint/AndroidDatabaseLibraryComparison

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

5条回答

  • weixin_39859394 weixin_39859394 4月前

    Addressed all the PR comments I think?

    点赞 评论 复制链接分享
  • weixin_39693438 weixin_39693438 4月前

    make it mergeable and then it can be merged.

    点赞 评论 复制链接分享
  • weixin_39859394 weixin_39859394 4月前

    fixed activity leak by using eventbus; also handled screen rotation

    点赞 评论 复制链接分享
  • weixin_39562089 weixin_39562089 4月前

    Nice work. Do you have any idea where ormlite ranks? Ormlite author was conceding on the forums that ormlite tends to create a lit of intermediate objects that trigger the gc more often than say greendao taxing the performance ultimately

    点赞 评论 复制链接分享
  • weixin_39859394 weixin_39859394 4月前

    Looks like roughly 3rd place (after DBFlow and GreenDAO). I should actually add charting to this app and include a screenshot of the graph for this repo...I'll see if I can do that today. What hurts ORMLite is you can't give it a nested collection (e.g., address book has contacts but each contact can have a collection of different addresses) and have it just insert everything. You have to make separate calls for each subcollection after you add the parent collection. This is supposed to be fixed in ORMLite 4.49 (current version is 4.48) but I'm not sure how far they're going to go w/ nested collections.

    点赞 评论 复制链接分享

为你推荐