@andralex: FWIW – just randomly working through my pile of notifications – I think @monarchdodra got it right. Implementing sparse vectors as hash tables, though… ;)