Code Monkey home page Code Monkey logo

Comments (2)

meierjan avatar meierjan commented on August 23, 2024

+1 even though it's not using sqlite internally.

Aditionally I would publish that Raizlabs is the owner/maintainer of DBFlow (which IMHO the winner) - just for the completeness

from androiddatabaselibrarycomparison.

agrosner avatar agrosner commented on August 23, 2024

Did you look at the graphs? DBFlow is not always the winner. But as for Realm this is a comparison of SQLite libs.

Realm will be much faster in these cases since the library keeps a pointer to rows in their internal structures when you reference realmobjects. What this means as it skirts the conversion of objects into copies of the data. Rather getting a value from an object, it does a direct query on the row the object points to. So when loading its "faster", but really what it's doing is pointing to the rows in the form of stub objects and you still need to load the data. The next bit is you can't pass these objects around threads and I need to do another comparison, but saving/inserting isn't really all that much faster than SQLite. :)

from androiddatabaselibrarycomparison.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.