My comment had nothing to do with concurrency. The `getOrElseUpdate` method make the code less readable as the value initialisation logic is inside the else code block.