MexDB flatfile-database

Discussion in 'Resources' started by XemsDoom, May 30, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    XemsDoom

  2. Offline

    JxAxVxAx

    Bump !

    XemsDoom : Not Pump .
     
  3. Offline

    dumptruckman

    Why would one use this over the built in configuration api?
     
  4. Offline

    XemsDoom

    This is a flatfile database and not a configuration file;)
     
  5. Offline

    Sagacious_Zed Bukkit Docs

    However at the end of the day it seems to be a key-value pair storage system. asides from the mentioned indexes.
     
  6. Offline

    dumptruckman

    Which pretty much make it no different from configuration file?
    Configuration file is a flat file database...
     
  7. Offline

    XemsDoom

    Look boy, you can see how my stuff works, if you don't even read it, don't
    ask silly questions. This is a typical database for storing data and a SnakeYML
    configuration file is not really that, what I would call a database.
     
  8. Offline

    XemsDoom

    Update:
    • Added faster cipher and encode methods.
    • Added more JavaDocs.
     
  9. Offline

    XemsDoom

    Updated the op with the lastest documentation pages.
     
  10. Offline

    XemsDoom

    Alright, time for some benchmarking(the whole code).

    MexDB:
    Writing of 10000 entries done in: 187ms
    Reading 10000 entries and putting values into list done in: 283ms

    SQLite via JDBC
    Writing of 10000 entries done in: 8627ms
    Reading 10000 entries and putting values into list done in: 2344ms

    Of course, SQLite provides more functionality through the SQL-statements and such
    but if you are looking for performance and don't need fancy SQL-statements, go with MexDB.
     
Thread Status:
Not open for further replies.

Share This Page