The 100 items in the dictionary are actually not very large - in fact, this hardly comes in size where hashing is faster than a linear search. If it will never change after initialization, then the static one can work - I personally try to get some other abstraction between staticand the instance - for example, the "context" or "configuration" class, which I can go through in all cases that need it. Then I can have several parallel configurations (if necessary), but all instances associated with can share the context / configuration, so duplication is not necessary.
source
share