From c6418c4bc1bf646ddd088f54585835d9c5d7c87f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Tue, 8 Sep 2015 22:45:02 +0200 Subject: [PATCH] DESIGN.md --- DESIGN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESIGN.md b/DESIGN.md index 091eaf418..567364777 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -56,7 +56,7 @@ Yet, don't miss the [RowConvertible](http://cocoadocs.org/docsets/GRDB.swift/0.1 ### Why are DatabaseQueue.inTransaction() and DatabaseQueue.inDatabase() not reentrant? -Preventing those methods to be reentrant fosters explicit database argument in functions that access the database, so that it is obvious when the database is used. I, the library author, do not like slow database accesses to be hidden behind innocent-looking methods or properties. +Because this fosters explicit database argument in functions that access the database, so that it is obvious when the database is used. I, the library author, do not like slow database accesses to be hidden behind innocent-looking methods or properties. For example, assuming a global `dbQueue`, let's compare: