Not so much about idiomatic/shorter, but more for performance/efficiency. IIRC 
`reversed` returns a new seq and therefore requires allocation. Use `reverse` 
to do reversal in place. Or you can do a for loop on the index in decreasing 
order to avoid reverse altogether.

Also, if you know the number of items beforehand you can use an array to 
allocate on stack.

Reply via email to