Ruby: Use map option for selecting b/w sparse and memory vector