| Packed-Array documentation | view source | Contained in the Packed-Array distribution. |
Packed::Array - Packed integer array
use Packed::Array; tie @foo, "Packed::Array"; $foo[12] = 15;
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.
None by default.
Dan Sugalski <dan@sidhe.org>
perl(1).
| Packed-Array documentation | view source | Contained in the Packed-Array distribution. |