protocol: switch to msgpack for packet serialization
Not only for performance reasons (at least 3% faster) but also because of several ugly things in the way packets were defined: - packet field names, which are only documentary; for roots fields, they even just duplicate the packet names - a lot of repetitions for packet names, and even confusion between the name of the packet definition and the name of the actual notify/request packet - the need to implement field types for anything, like PByte to support new compression formats, since PBoolean is not enough neo/lib/protocol.py is now much smaller.
Showing
This diff is collapsed.
This diff is collapsed.
-
mentioned in commit kirr/neo@7f1d0c39
-
mentioned in commit kirr/neo@e8143557
-
mentioned in merge request slapos!1283 (closed)
-
mentioned in commit levin.zimmermann/neoppod@9e8a9b24
-
mentioned in commit levin.zimmermann/neoppod@b6f5ef45
-
mentioned in commit levin.zimmermann/neoppod@93f25df5
-
mentioned in merge request kirr/neo!6
-
mentioned in commit levin.zimmermann/neoppod@7eb7e380
-
mentioned in commit levin.zimmermann/neoppod@8effc6be
-
mentioned in commit levin.zimmermann/neoppod@74b0904e
-
mentioned in commit levin.zimmermann/neoppod@d0d16dc0
Please register or sign in to comment