NAME

ObjStore::AV::Set - index-style interface with an array representation

SYNOPSIS

my $set = ObjStore::AV::Set->new($near, $size);

$set->add($myobject);

$set->remove($myobject);

DESCRIPTION

Implements an API very similar to ObjStore::Index, except with an array implementation. Elements are unsorted. add is O(1) complexity while remove always scans the entire set. add does not check for duplicates, but remove does.

This class may be useful as a primary index for ObjStore::Table3.