In my case, the speed difference is 352 ms compared to 42953 ms.
Yes. Searching a hash by Key is far far faster than AScan.
But at the same time, you can improve the logic for faster results irrespective of using hash or array.
In my case, the speed difference is 352 ms compared to 42953 ms.