Vectorized the indices for performance [skip hazarlib]
Vectorized the indices for performance [skip hazarlib]


Former-commit-id: 53763f3a07b300daa232e3cd9c16d28d8196f0ba
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine