This commit is contained in:
Gwendal Roué committed 2016-05-05 13:54:55 +02:00
1 parent 03debbf434
commit 3b9688eb2f
1 file changed
+5 -1
+5 -1
View File
@@ -1,5 +1,4 @@
- [ ] Reimplement ReadWriteBox with GCD (look for dispatch_barrier_sync in http://khanlou.com/2016/04/the-GCD-handbook/)
- [ ] In-memory DatabasePool (https://www.sqlite.org/inmemorydb.html)
- [ ] Use "unchecked" instead of "unsafe" when appropriate
- [ ] What is the SQLITE_OPEN_WAL open flag?
- [ ] Read https://github.com/ccgus/fmdb/issues/262 and understand https://lists.apple.com/archives/cocoa-dev/2012/Aug/msg00527.html
@@ -27,6 +26,11 @@ Not sure:
- [ ] Have Record adopt Hashable and Equatable, based on primary key. Problem: we can't do it know because we don't know the primary key until we have a database connection.
Difficult:
- [ ] In-memory DatabasePool (https://www.sqlite.org/inmemorydb.html). Unfortunately, a shared cache is not enough, and SQLite does not provide WAL mode for in-memory databases: we get "database is locked" errors. A solution could be a WAL database on a RAM disk, and this is difficult.
Require changes in the Swift language:
- [ ] Specific and optimized Optional<StatementColumnConvertible>.fetch... methods when http://openradar.appspot.com/22852669 is fixed.