Discuss the trade-offs between using a HashMap and a TreeMap in a high-concurrency environment at DPWorld.