[Pdx-pm] Big tied arrays
Marvin Humphrey
marvin at rectangular.com
Mon Jun 13 15:48:08 PDT 2005
On Jun 13, 2005, at 12:47 PM, Michael G Schwern wrote:
> On Mon, Jun 13, 2005 at 10:41:12AM -0700, Marvin Humphrey wrote:
>
>> I've got a tied array class that can grow to a very large size (using
>> multiple files) mostly written. Am I reinventing the wheel? I
>> haven't tracked anything like it down on CPAN so far. In a nutshell,
>> the scheme uses index files which store lookup data (filenum, offset,
>> length) against the data files, allowing storage of arbitrary
>> content. Deletions don't disappear from the data files unless you
>> optimize the whole thing.
>>
>> The DB_RECNO option from DB_File uses a single-byte record separator,
>> so that's out. Anything else?
>>
>
> Why do the details of the record separator, a purely internal detail,
> matter?
>
>
> --
> Michael G Schwern schwern at pobox.com http://www.pobox.com/
> ~schwern
> You are wicked and wrong to have broken inside and peeked at the
> implementation and then relied upon it.
> -- tchrist in <31832.969261130 at chthon>
>
>
Marvin Humphrey
Rectangular Research
http://www.rectangular.com/
More information about the Pdx-pm-list
mailing list