From d2d3b658d3e5843f54a519ae47112eaa4d98426f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Tue, 8 Sep 2015 22:43:44 +0200 Subject: [PATCH] DESIGN.md --- DESIGN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESIGN.md b/DESIGN.md index ea64429d0..091eaf418 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? -I, the library author, do not like slow database accesses to be hidden behind innocent-looking methods or properties. 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. +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. For example, assuming a global `dbQueue`, let's compare: