xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Version 20 and Version 21 of PacketEncoding


Ignore:
Timestamp:
07/23/14 14:09:13 (7 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PacketEncoding

    v20 v21  
    2828{{{#!div class="box"
    2929== Bencode vs Rencode ==
    30 The main chunk is encoded using one of those two stream encoders:
    31 * The old [http://xpra.org/trac/browser/xpra/trunk/src/xpra/net/bencode.py bencode] mode (see [http://en.wikipedia.org/wiki/Bencode Bencode on wikipedia]): a modified bencoder which supports non string keys in dictionaries, and support for unicode
     30The main chunk is encoded using one of those stream encoders:
     31* The old [http://xpra.org/trac/browser/xpra/trunk/src/xpra/net/bencode.py bencode] mode (see [http://en.wikipedia.org/wiki/Bencode Bencode on wikipedia]): a modified bencoder which supports non string keys in dictionaries, non ordered keys, and support for unicode
    3232* The newer/faster [http://xpra.org/trac/browser/xpra/trunk/src/xpra/net/rencode rencode] mode, based on [https://code.google.com/p/rencode/ this version] with minor tweaks/fixes
     33* YAML (see r6934) which is much slower, but more widely available
    3334[[BR]]
    3435This allows various languages to implement the xpra protocol, specifying which encoder they want to use (bencode is more widely available than rencode).
    35 As of v0.11, we also include a faster bencoder implemented in Cython: [http://xpra.org/stats/bencode/ Cython vs Python bencoder]
     36We also include a faster bencoder implemented in Cython: [http://xpra.org/stats/bencode/ Cython vs Python bencoder]
    3637}}}
    3738