develooper Front page | perl.perl5.porters | Postings from December 2011

again with the sparse arrays.

Thread Next
David Nicol
December 27, 2011 23:05
again with the sparse arrays.
Message ID:
I have just uploaded a sparse array
implementation to CPAN.

TipJar::sparse::array::perl::hashbased uses
a hash for storage and an array for listing
existing keys in order; it provides

   sparse my @SparseArray;

without requiring using a hundred megabytes
of memory.

I didn't take a name like "Array::Sparse"
because it isn't up to a standard deserving
that yet: it is neither in XS nor does it use trees.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About