2013/7/20 Martin Schafran <[email protected]> > ** > > I accidently found a 64 bit BitSet. > > > http://lucene.apache.org/core/3_0_3/api/core/org/apache/lucene/util/OpenBitSet.html >
A bitset is very inefficient if you have sparsely allocated ids. For this reason the DynamicIdTracker breaks the id space into small segments and switches between bitsets and sorted ids for each segment depending on the id density. It used to be necessary to manually specify the id tracker depending on your usage patterns, whereas now DynamicIdTracker provides the best of both worlds. I'm happy to be proven wrong, but I'd want to see memory usage numbers before trying to use another implementation. Brett
_______________________________________________ osmosis-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/osmosis-dev
