Re: 5291 RTF import slow - the solution :-)

From: dbolack%electricmulch.com@electricmulch.com
Date: Wed Sep 24 2003 - 11:05:03 EDT

  • Next message: Hubert Figuiere: "Re: 5291 RTF import slow - the solution :-)"

    Original Message:
    -----------------
    From: Dom Lachowicz domlachowicz@yahoo.com
    Date: Wed, 24 Sep 2003 05:32:10 -0700 (PDT)
    To: abiword-dev@abisource.com
    Subject: Re: 5291 RTF import slow - the solution :-)

    And we do *not* want to gzip the strings.

    1) It'll be slow
    2) The strings won't be readable in the debugger
    3) It'll increase memory usage because the strings are
    too short to have any good entropy - as well as all
    the boundary points where we get things out or put
    things in - those will need uncompressing + strdup'ing

    ----
    

    You could do a Huffman or Shannon Fano based on a static tree which is pretty fast, but really, you're still not likley talking about enough savings to be worthwhile.

    -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ .



    This archive was generated by hypermail 2.1.4 : Wed Sep 24 2003 - 11:19:55 EDT