Helge Heß
ad70fc06ca
Do not use @inline(__always)
...
Use @inlinable instead, or let the compiler be smart.
Also make more public things @inlinable for speedz.
2021-03-08 16:27:49 +01:00
Helge Heß
f3f50c7a01
Drop pre-Swift 5 compat in source
...
Remove if-swift versions, also ties it to NIO2.
2020-06-30 23:54:51 +02:00
Helge Heß
44b14b7149
Fix Swift 4.x warnings
...
... public in fileprivate and such.
2019-03-27 19:08:44 +01:00
Helge Heß
3005e79cb3
Swift 5 / NIO 2: write(xyz:) -> writeXYZ()
...
Same for write(integer:). Use fileprivate shim w/
NIO 2 API.
2019-03-27 14:22:25 +01:00
Helge Heß
20dc5d534b
Swift 5: public public
...
Fix warnings when compiling w/ Swift 5 compiler in 4.x
mode.
2019-03-26 18:59:51 +01:00
Helge Heß
de26ed6b35
Make RESPError CustomStringConvertible
...
... so that we get something useful when printing the error.
2018-05-31 17:19:38 +02:00
Helge Heß
9011f2097c
Reduce size of RESPValue from 49 to 25
...
By backing RESPError fields in a class.
This way it isn't taking up storage in
each and every RESPValue.
25 is still > 24 though :-)
(thanks to @weissi for the suggestion)
2018-04-13 16:50:21 +02:00
Helge Hess
5fef65eb2f
Initial drop
2018-04-11 00:27:29 +02:00