Compressing a string

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yovalk
    New Member
    • Apr 2007
    • 15

    Compressing a string

    Hello,
    I store long strings in the client side and wish to have tham somehow compressed.
    Anyone knows a method to javascript to compress/decompress a string?

    Thanks,
    Yuval
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5388

    #2
    there is no built in method to do that but you may code your own algorithm in a manner like the Huffman Compression does :)

    kind regards

    Comment

    • yovalk
      New Member
      • Apr 2007
      • 15

      #3
      Thanks for your answer,
      I am familiar with the huffman algorithm,
      however my time is short,
      I am working on a project whose main issue is not the compression but it has limited storing space and I was wondering if someone knows where such an algorithm was implemented.

      Thanks,
      Yuval

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        See this thread. There's some discussion of compression and some useful tools you could use.

        Comment

        Working...