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 Initial Version and Version 1 of Ticket #2055


Ignore:
Timestamp:
11/26/18 05:30:09 (3 years ago)
Author:
Antoine Martin
Comment:

There are python bindings for zstandard, including dictionary access. See pypi: zstandard: Note: When using dictionary data and compress() is called multiple times, the ZstdCompressionParameters? derived from an integer compression level and the first compressed data’s size will be reused for all subsequent operations. This may not be desirable if source data size varies significantly.

So maybe use two different contexts? One for packet metadata and one for pixel data?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2055

    • Property Status changed from new to assigned
    • Property Summary changed from lz4 dictionary to compression dictionary
  • Ticket #2055 – Description

    initial v1  
    1 Some packet types will be sent thousands of times, it is quite likely that lz4 would be able to perform a lot better if we trained it first. We could bencode / rencode a bunch of common strings and train it with that.
     1Some packet types will be sent thousands of times, it is quite likely that lz4 (or zstandard) would be able to perform a lot better if we trained it first. We could bencode / rencode a bunch of common strings and train it with that.
    22We could send the dictionary to the other end as part of the handshake.
    33