Commit Graph

9 Commits

Author SHA1 Message Date
Unnoen
5d9677dbd1
Optimise SQL database store and IO
* Remove unnecessary ROWID from tables.
* Set JOURNAL_MODE to MEMORY, reducing disk IO.
* VACUUM databases after install/compile.
2021-01-07 02:47:59 +11:00
Timothy Baldridge
e1e5a96e7a Fix some missing checks in the patch code 2021-01-05 17:08:13 -07:00
Timothy Baldridge
da521ba3c0 Ignore harmless constraint failures 2021-01-05 15:53:26 -07:00
Timothy Baldridge
13eef5c695 Remove RocksDB (replaced with SQLite) 2021-01-05 15:09:32 -07:00
Timothy Baldridge
a847d69851 Patching and extraction works, fewer failing tests 2020-09-05 08:01:32 -06:00
Justin Swanson
b77fa3d0c7 Made RocksDB initialization lazier
Was causing problems, as it's a singleton across the entire computer, so eagerly initializing them was causing problems for users of Wabbajack.Common that weren't interested in RocksDB.  Only one could run at a time.
2020-08-14 07:16:09 -05:00
Timothy Baldridge
d48489d4fe Consider all possible binary patches and select the smallest 2020-06-30 17:09:59 -06:00
Timothy Baldridge
f3207d9840 Forgot return in patch creation 2020-06-01 22:25:04 -06:00
Timothy Baldridge
496c0083bf Store patches in RocksDb 2020-06-01 21:41:34 -06:00