My ECS uses HashMaps to represent Components and their features, and each Entity has a HashMap that contains components. Every time a component is added, it generates a String tag that is attached to the Entity, which each System checks for to make sure the component actually exists for said Entity.
I was reading up the Artemis info and they say that HashMaps are bad data structure. Is it? Since my design uses a HashMap container to store multiple HashMaps, is there a more efficient way that I should be doing this, or should I only worry about it if performance is a big problem?
Would it be possible to create an enum to represent a global index that I can use to refer to components and their parts? The main reason I used HashMap was because of the ease-of-use of the Key-Value system