• Julien Muchembled's avatar
    protocol: switch to msgpack for packet serialization · 9d0bf97a
    Julien Muchembled authored
    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.
setup.py 3.96 KB