Array::Frugal

Arrays that re-use deleted indices
Download

Array::Frugal Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • David Nicol
  • Publisher web site:
  • http://search.cpan.org/~davidnico/

Array::Frugal Tags


Array::Frugal Description

Arrays that re-use deleted indices Frugal as in memory use. Instead of continuing to count upwards toward MAXINT, when an element is deleted from a frugal array the index is available for re-use.Currently new, PUSH, STORE, FETCH, and DELETE are all the methods that are defined, but this may become tieable in a future release.SYNOPSIS use Array::Frugal; my $stash = new Array::Frugal; $index = $stash->PUSH(34); print $stash->FETCH($index); # prints 34; $stash->DELETE($index); # $index can be re-used now Requirements: · Perl


Array::Frugal Related Software