The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Packed::Array - Packed integer array

SYNOPSIS

  use Packed::Array;
  tie @foo, "Packed::Array";
  $foo[12] = 15;

DESCRIPTION

Packed::Array provides a packed signed integer array class. Arrays built using Packed::Array can only hold signed integers that match your platform-native integers, but take only as much memory as is actually needed to hold those integers. So, for 32-bit systems, rather than taking about 20 bytes per array entry, they take only 4.

EXPORT

None by default.

AUTHOR

Dan Sugalski <dan@sidhe.org>

SEE ALSO

perl(1).