Commit Graph

16 Commits

Author SHA1 Message Date
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ß 7ed9d3bb81 NIO 2 API: ctx => context
Sigh.
2019-03-29 17:37:22 +01:00
Helge Heß 44b14b7149 Fix Swift 4.x warnings
... public in fileprivate and such.
2019-03-27 19:08:44 +01:00
Helge Heß 59355c9d9c Swift 5: ContiguousCollection => Collection
Not quite sure whether this produces a performance
regression.
2019-03-27 14:23:33 +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ß 542cfc17b4
Move byte buffer stuff to own file
Maybe I should submit that to NIO itself.
2018-04-16 17:19:53 +02:00
Helge Heß db37a8da9c
Rename RedisChannelHandler to RESPChannelHandler
Fix name.
2018-04-14 11:16:20 +02:00
Helge Heß aaf1b706c4
OMG - indent wrong!!!
No lint no fun.
2018-04-13 18:24:07 +02:00
Helge Heß dae92a76ac
Perf: Use more BB(integerAsString:)
... faster.
2018-04-13 18:15:57 +02:00
Helge Heß 9fe1bce783
itoa 2018-04-13 18:11:11 +02:00
Helge Heß 5b78b9db82
And a public init
... empty, just to make init public ...
2018-04-13 15:39:56 +02:00
Helge Heß 4631728dab
Open up more functions
... that we wanna override.
2018-04-13 15:35:31 +02:00
Helge Heß 4672c49331
Make RESPChannelHandler work as a base-class
... so that we subclass it.

Intention: workaround NIOAny wrapping overhead.
2018-04-13 15:32:04 +02:00
Helge Heß 0f6b7baa77
Move RESPParser to own file/struct
Instead of being embedded in the RedisChannel,
move the parser out, into an own struct.

This way we may be able to avoid NIO channel
pipeline overhead (NIOAny wrapping).
2018-04-13 13:45:19 +02:00
Helge Hess 5fef65eb2f
Initial drop 2018-04-11 00:27:29 +02:00