improved as typed vectors efficiency for vectorsa