Faster Row.count

This commit is contained in:
Gwendal Roué committed 2015-12-17 10:21:24 +01:00
1 parent bfda4c78b3
commit 2bd9bdbf27
1 file changed
+1 -3
+1 -3
View File
@@ -409,9 +409,7 @@ public final class Row: CollectionType {
// MARK: - Row as a Collection of (ColumnName, DatabaseValue) Pairs
/// The number of columns in the row.
public var count: Int {
return impl.count
}
public lazy var count: Int = { self.impl.count }()
/// The names of columns in the row.
///