Graciliano M. P. wrote:
Will be nice to can write this directly on Perl6:
int the_matrix[10][10] ;
Perl6 and thus Parrot supports arrays of native types like int and bitarrays.
Also, will be nice to can use the same idea with hash tables:
int , bool static_hash{1000} ;
But while plain integer keys will be supported, bit values don't save any space (compared to plain ints), as you need one word of storage per boolean hash value.
Regards, Graciliano M. P.
leo