Joshua Nathaniel Pritikin > ObjStore-1.59 > ObjStore::AVHV

Download:
ObjStore-1.59.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

  ObjStore::AVHV - Hash interface, array performance

SYNOPSIS ^

  package MatchMaker::Person;
  use base 'ObjStore::AVHV';
  use fields qw( height hairstyle haircolor shoetype favorites );

DESCRIPTION ^

Support for extremely efficient records.

Even without optimization or benchmarks, the memory savings achieved by factoring the hash keys is quite significant and a large performance win. Perl implements a similar strategy by globally sharing hash keys across all (transient) hashes.

TODO ^

syntax highlighting: