Typescript Loop Through An Hashmap Vs Concurrenthashmap