Ask a Question related to PERL Modules, Design and Development.
-
Jaap Karssenberg #1
Re: Tie::StdHash - does it store on disc?
On Mon, 8 Sep 2003 09:00:41 +0200 bdj wrote:
: The question isn't what is $whatis (it will be 'yes'), but
: will my %hashThatBecomesVeryBig really be stored directly on disc and
: not in memory/ram???
Nope. The Tie::StdHash documentation doesn't promised anything like
this, will just be in RAM. Although you can overload Tie::StdHash to
make it do this relatively easy.
--
) ( Jaap Karssenberg || Pardus [Larus]
: : [url]http://pardus-larus.student.utwente.nl/~pardus[/url]
) \ / (
",.*'*.," Proud owner of "Perl6 Essentials" 1st edition :)
Jaap Karssenberg Guest
-
Boot disc
The WinXP CD is bootable! "Mantas" <mmf@xxx.lt> wrote in message news:098401c350dd$cc916120$a101280a@phx.gbl... -
Uninstalling Acrobat 6.0 Pro W/O Disc. HELP!!!!
I hope someone can help me with this problem. I borrowed a copy of CS and loaded the software on my computer. Several of the programs didn't work... -
Tie::StdHash
Dear Friends, I have perl 5.6.0 for windoze and ppm 2.1.2. I like to install Tie::Hash and Tie::StdHash (or the whole Tie Bundle) on my PC but... -
Disc Cachiung in win XP
I have a HDD with an 8MB cache, Windows XP will not let me turn on the caching option, both options are greyed out on the discs policy tab, how... -
clean up disc
defragmentation needs 15% free space to run and it is good idea to get in habit of 'routine of running' chkdsk.exe/checkdisk/first then defrag... -
bdj #2
Re: Tie::StdHash - does it store on disc?
Hi!
I have an big object (hash with values, that could be scalars or references)
that takes a lot of ram.
Perl isn't so glad about using more than ca. 1 Gb ram even when there is
enough virtual memory.
So i wan't to keep usage of virtual memory so low as possible.
Therefore the idea using a other type of virtual memory with tied hashes or
DB_File or whatever works...
Greetings
Bjørn
"Barry King" <wyrd@nospam.wyrdwright.com> wrote in message
news:vlpeagtcqi0udd@corp.supernews.com...>
>
> Can you be more specific on what you are trying to do? It sounds like
> you could use a combination of Data::Dumper (to generate hash-values
> that can be eval-ed to produce referenced data structures) and DB_File.
>
> BK
>
> bdj wrote:>> >> >>Nope. The Tie::StdHash documentation doesn't promised anything like
> >>this, will just be in RAM. Although you can overload Tie::StdHash to
> >>make it do this relatively easy.
> > But how???
> >
> > Should i make use of
> > use DB_File 'MyFileName4verybigHash.dat';
> >
> > But then i can't use references in the hash-values
> > - or is there a way to do that?
> >
> > Greetings
> > Bjørn
> >
> >
bdj Guest



Reply With Quote

