As can be seen, the AirConcurrentMap Iterators are already several times faster than the standard Java Map Iterators, in particular the Iterators for ConcurrentSkipListMap (CSLM) and ConcurrentHashMap (CHM), which are representative of other non-concurrent Maps.
If you want to be a professional classical performer, you're looking at a minimum of 10 to 15 years of concentrated study with a master teacher,...
Read More »The answer is yes. This is if you want to improve, if you're happy with your current skills then don't practice. So, what can you achieve in...
Read More »AirConcurrentMap Iterators and forEach are faster than those for any Java library Map – even HashMap as shown here graphically. AirConcurrentMap also has two ways to provide fast Java Map scanning that are better than Iterators, forEach() or streams for any of the standard Java Maps, including HashMap, ConcurrentHashMap, TreeMap, and ConcurrentSkipListMap as shown. The scanning performance of Java Maps is normally limited either by the Java Map Iterators, or forEach() which are sequential, or else by the Java Map 8 streams feature, which has a parallel option. All of these standard Java Map scanning techniques are slower than the scanning techniques shown below. Memory efficiency is better than any of these Java Maps as well – see AirConcurrentMap Space Efficiency. For an extensive performance analysis see AirConcurrentMap_Performance_Testing.pdf . For overview see AirConcurrentMap. For more info contact [email protected] If the AirConcurrentMap client code implements a subclass of MapVisitor by overriding visit(Object key,Object value), then that subclass can be used directly in a scan using the airConcurrentMap.visit(MapVisitor map) method in order to handle all of the key/value pairs in the Java Map in ascending order. The ascending ordering is possible because AirConcurrentMap not only implements ConcurrentMap, but also NavigableMap, which is a subinterface of SortedMap (these are all multiply-inherited by ConcurrentNavigableMap). If the client code further implements two simple methods – split() and merge() – in order to subclass ThreadedMapVisitor, then the airConcurrentMap.visit() method can similarly be invoked, but AirConcurrentMap will use a parallel scanning technique for extreme speed. The parallelization is internal and transparent. Both of the techniques are available in Java Map versions 6 or 7 for AirConcurrentMap, making it compatible with systems that are not yet able to support the Java 8 streams, such as older Android phones, or “Internet of Things” distributed devices. The performance of these techniques is higher than that for scanning any standard Java Map such as HashMap, TreeMap, ConcurrentHashMap, and ConcurrentSkipListMap using either Iterators or streams. Here is