Results 1 to 5 of 5

Thread: Compressing small packets

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2010
    Thanked 69 Times in 29 Posts

    Compressing small packets

    Say you need to compress some small packets for sending over a network. Not actually TCP packets but app data packets, of size 1-64k, average size around 16k.

    The channel is not persistent, so you can't use any information from previous packets.

    Compressor speed is important, so any compressor that has to initialize a large model is not okay. Mem use has to be under 256k.

    How would you do it?

    The obvious answer is a small-hash-table LZ77, with or without entropy coding on the back end, but is there something better that I'm not seeing?
    Last edited by cbloom; 3rd August 2016 at 21:42.

Similar Threads

  1. Compressing pi
    By Matt Mahoney in forum Data Compression
    Replies: 24
    Last Post: 26th September 2016, 20:17
  2. Compressing mp3 Files
    By zhuda in forum Data Compression
    Replies: 12
    Last Post: 7th March 2011, 19:26
  3. On compressing series of ones and zeroes.
    By Chuckie in forum Data Compression
    Replies: 4
    Last Post: 3rd March 2011, 12:33
  4. compressing a really small 1k .COM file
    By Rugxulo in forum Data Compression
    Replies: 3
    Last Post: 28th November 2009, 01:32
  5. Compressing small bits of data
    By fredrp in forum Data Compression
    Replies: 9
    Last Post: 28th April 2009, 23:27

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts