in reply to Sparse Array

Use PDL::CCS (CCS = Collapsed Column Storage).