pysome has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks
I have a huge big string to store into DB.
But you know, it take too much space.So i need to zip(or compress) the big string at first,then store it to DB.
e.g.
What's way can be used? Thanks
I have a huge big string to store into DB.
But you know, it take too much space.So i need to zip(or compress) the big string at first,then store it to DB.
e.g.
if the length($a) is far less than length($b) ,then it will be OK.my $a = 'big big string here ....'; my $b = zip($a);
What's way can be used? Thanks
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to "zip" a big string to small ?
by dHarry (Abbot) on Oct 28, 2008 at 08:41 UTC | |
by pysome (Scribe) on Oct 29, 2008 at 03:29 UTC | |
by dHarry (Abbot) on Oct 29, 2008 at 08:07 UTC | |
by pysome (Scribe) on Oct 29, 2008 at 09:10 UTC | |
Re: How to "zip" a big string to small ?
by ccn (Vicar) on Oct 28, 2008 at 08:06 UTC | |
Re: How to "zip" a big string to small ?
by zentara (Archbishop) on Oct 28, 2008 at 21:45 UTC |
Back to
Seekers of Perl Wisdom