Gwendal Roué
|
9e380e5fea
|
Cleanup
|
2018-04-20 19:14:32 +02:00 |
|
Gwendal Roué
|
f12495b24a
|
New DateParsingTests in GRDBOSXPerformanceTests
|
2018-04-20 19:06:02 +02:00 |
|
Gwendal Roué
|
266040747e
|
Date adopts StatementColumnConvertible
|
2018-04-20 18:42:12 +02:00 |
|
Gwendal Roué
|
11a4a6acbd
|
Documentation
|
2018-04-20 18:41:58 +02:00 |
|
Gwendal Roué
|
c70689fe54
|
Check useScanfStrategy in DatabaseDateComponents.init(sqliteStatement:index:)
...so that we can eventually compare gains
|
2018-04-20 18:34:19 +02:00 |
|
Gwendal Roué
|
936b31f1f0
|
DatabaseDateComponents adopts StatementColumnConvertible
We'll need benchmarks to evaluate the gain, here
|
2018-04-20 14:04:12 +02:00 |
|
Gwendal Roué
|
8915672ce5
|
SQLiteDateParser: parse C strings
Since the goal of this PR is efficiency, we'll soon parse Date and
DatabaseDateComponents right from raw SQLite buffers.
|
2018-04-20 13:51:20 +02:00 |
|
Gwendal Roué
|
0640f90fc1
|
(whitespace)
|
2018-04-20 13:32:50 +02:00 |
|
Gwendal Roué
|
d1a0e8d906
|
SQLiteDateParser.components(from:) is not public
|
2018-04-20 13:31:57 +02:00 |
|
Gwendal Roué
|
e9a668ca56
|
SQLiteDateParser: no more static methods
|
2018-04-20 13:31:35 +02:00 |
|
Gwendal Roué
|
27194c802d
|
SQLiteDateParser: use withUnsafeMutablePointer instead of allocations
OK, not really: the nanosecond components remains in the heap.
But we may find a way to put 11 chars on the stack.
|
2018-04-20 13:30:26 +02:00 |
|
Gwendal Roué
|
7aabfeaeac
|
SQLiteDateParser: get rid of the mutex
|
2018-04-20 13:09:22 +02:00 |
|
Gwendal Roué
|
6d9bce3a25
|
Add SQLiteDateParser.swift to GRDBCustom and GRDBCipher
... so that all GRDB flavors can use the new technique.
GRDB has three distinct projects since #282.
|
2018-04-20 13:08:17 +02:00 |
|
Matt Greenfield
|
3b546dedd8
|
truncate nanosecond precision to 3 sig figs
|
2018-04-17 15:17:09 +07:00 |
|
Matt Greenfield
|
7320f88066
|
Revert "fix the tests to expect less nanosecond precision loss"
This reverts commit eba5df1fcc.
|
2018-04-17 15:14:18 +07:00 |
|
Matt Greenfield
|
bde72e562e
|
Revert "permit precision loss down to 3 sig figs"
This reverts commit 3bcc5b8064.
|
2018-04-17 15:14:09 +07:00 |
|
Matt Greenfield
|
33066133fc
|
truncate date/time strings that include seconds precision beyond the nanosecond scale
|
2018-04-17 14:32:33 +07:00 |
|
Matt Greenfield
|
3bcc5b8064
|
permit precision loss down to 3 sig figs
|
2018-04-17 13:20:11 +07:00 |
|
Matt Greenfield
|
eba5df1fcc
|
fix the tests to expect less nanosecond precision loss
|
2018-04-17 12:57:59 +07:00 |
|
Matt Greenfield
|
dad163771f
|
not all nanosecond fractions have 3 sig figs, so can't hard code the acceptable string lengths
|
2018-04-17 12:38:23 +07:00 |
|
Matt Greenfield
|
bb59f5e6f7
|
0.123 is not the same thing as 0.000123
|
2018-04-17 11:05:47 +07:00 |
|
Matt Greenfield
|
7a1aa88edb
|
fractions of seconds are not the same thing as integer counts of nanoseconds
|
2018-04-16 19:18:49 +07:00 |
|
Matt Greenfield
|
b444d376f4
|
differentiate between SS and SS.SSS formats
|
2018-04-16 17:39:41 +07:00 |
|
Matt Greenfield
|
59d7909f50
|
return correct Format for partial date/time combinations
|
2018-04-16 17:21:00 +07:00 |
|
Matt Greenfield
|
f5f8ab5971
|
add SQLiteDateParser to project file
|
2018-04-16 16:32:32 +07:00 |
|
Matt Greenfield
|
362c4baeca
|
initial scanf() based date string parser
|
2018-04-16 14:02:15 +07:00 |
|
Gwendal Roué
|
65b3ba1d12
|
TODO
|
2018-04-04 09:49:38 +02:00 |
|
Gwendal Roué
|
91b574e153
|
v2.10.0
v2.10.0
|
2018-03-30 08:32:18 +02:00 |
|
Gwendal Roué
|
7966b43daf
|
Merge pull request #295 from groue/Swift4.1
Xcode 9.3 & Swift 4.1
|
2018-03-30 08:31:30 +02:00 |
|
Gwendal Roué
|
17dfb0db9d
|
CHANGELOG
|
2018-03-30 08:19:46 +02:00 |
|
Gwendal Roué
|
2c3a62abbc
|
Update performance tests for Swift 4.1
|
2018-03-30 08:12:24 +02:00 |
|
Gwendal Roué
|
f9a806d9aa
|
Xcode 9.3 artifact: IDEWorkspaceChecks.plist
|
2018-03-30 07:51:34 +02:00 |
|
Gwendal Roué
|
afd2d25e5e
|
Makefile: add support for Xcode 9.3
|
2018-03-30 07:21:49 +02:00 |
|
Gwendal Roué
|
1cbe60a13f
|
Better checks for Swift < 4.1 (thanks @hartbit!)
|
2018-03-12 18:33:06 +01:00 |
|
Gwendal Roué
|
9505ba1606
|
Replace flatMap with compactMap in README.md
|
2018-03-12 18:20:10 +01:00 |
|
Gwendal Roué
|
bca1fe0d9b
|
SE-0184: backport UnsafeMutablePointer.deallocate()
|
2018-03-12 18:20:10 +01:00 |
|
Gwendal Roué
|
1d28ca1fca
|
TODO Swift 4.1
|
2018-03-12 18:20:10 +01:00 |
|
Gwendal Roué
|
a75e519294
|
SE-0185: let Swift 4.1 generate as much Equatable and Hashable conformance as possible
|
2018-03-12 18:20:10 +01:00 |
|
Gwendal Roué
|
75d5c2a39f
|
SE-0187: deprecate Cursor.flatMap in favor of Cursor.compactMap
|
2018-03-12 18:20:10 +01:00 |
|
Gwendal Roué
|
85d3c584ef
|
Swift 4.1 compatibility (SE-0184 , SE-0187)
|
2018-03-12 18:20:10 +01:00 |
|
Gwendal Roué
|
ad0f6de809
|
Fix Xcode9.3 warnings
|
2018-03-12 18:20:10 +01:00 |
|
Gwendal Roué
|
f2462d4270
|
Improve Record overview
|
2018-03-02 18:56:43 +01:00 |
|
Gwendal Roué
|
e44201e0e3
|
Apply advice from @sobri909
|
2018-02-25 09:43:00 +01:00 |
|
Gwendal Roué
|
dee6bf79d1
|
TODO
|
2018-02-25 08:41:34 +01:00 |
|
Gwendal Roué
|
baeba0dea3
|
v2.9.0
v2.9.0
|
2018-02-25 07:40:14 +01:00 |
|
Gwendal Roué
|
3dc31ad638
|
Typo
|
2018-02-25 00:00:25 +01:00 |
|
Gwendal Roué
|
4201e2a611
|
README
|
2018-02-24 21:24:18 +01:00 |
|
Gwendal Roué
|
d9f6fa7de6
|
CHANGELOG
|
2018-02-24 21:12:53 +01:00 |
|
Gwendal Roué
|
d0146762bc
|
Differences between Database Queues and Pools
|
2018-02-24 21:06:07 +01:00 |
|
Gwendal Roué
|
7e8f2e2fbc
|
Differences between Database Queues and Pools
|
2018-02-24 21:05:23 +01:00 |
|