Tie::StdHash - does it store on disc?

Ask a Question related to PERL Modules, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. Boot disc
      The WinXP CD is bootable! "Mantas" <mmf@xxx.lt> wrote in message news:098401c350dd$cc916120$a101280a@phx.gbl...
    2. 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...
    3. 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...
    4. 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...
    5. 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...
  3. #2

    Default 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

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139