I have an array with two thousand single-character strings.
["f", "j", "w", "/", ":", "u", "9", etc...]
I can reverse this with array.reverse()
. But two thousand things being reversed takes at least 5-7 seconds on my VPS. How can I make this task more efficient?