Instead of using Set<Manufacturer> for the backing store use ConcurrentHashMap<String...
authorkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Thu, 23 Aug 2012 19:55:20 +0000 (19:55 +0000)
committerkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Thu, 23 Aug 2012 19:55:20 +0000 (19:55 +0000)
commit732243b34b00e5099326182fc292452e3520c624
tree9b977b390aa8394a2c54c71b5cf177d4fabb207c
parent21a5b259cfb720fd7dc20e45b9cb299380a8d433
Instead of using Set<Manufacturer> for the backing store use ConcurrentHashMap<String,Manufacturer>.  The greately reduces contention during startup with the multiple parallel calls to Manufacturer.get(String).

git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@993 180e2498-e6e9-4542-8430-84ac67f01cd8
core/src/net/sf/openrocket/motor/Manufacturer.java