ObjStore::AV::Set - index-style interface with an array representation
my $set = ObjStore::AV::Set->new($near, $size); $set->add($myobject); $set->remove($myobject);
Implements an API very similar to ObjStore::Index, except with an array implementation. Elements are unsorted. Both add and remove always scans the entire set.
ObjStore::Index
add
remove
This might seems like a joke, but keep in mind that O(N) complexity algorithms takes constant time(Q) for all Q. (Don't be too enamoured with computer-science theory. :-)
This class might be useful as a primary index for ObjStore::Table3 (for small data sets).
ObjStore::Table3
1 POD Error
The following errors were encountered while parsing the POD:
Unterminated N<...> sequence
Deleting unknown formatting code N<>
To install ObjStore, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ObjStore
CPAN shell
perl -MCPAN -e shell install ObjStore
For more information on module installation, please visit the detailed CPAN module installation guide.