Dan Sugalski > Packed-Array-0.01 > Packed::Array

Download:
Packed-Array-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

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).

syntax highlighting: