LayerNodeIndex.add( Node geometry, String key, Object value ) time is linear with index size #72
Adding the node to the index fist checks whether it is present, by iterating over the full linked-list of all entries in the index via LayerNodeIndex.findExistingNode( Node geometry )
Adding the entry to the linked list then also iterates over the list to perform an append()
The index should probably not use a linked-list at for node-id presence checking as it is un-scaleable.
see https://groups.google.com/forum/#!topic/neo4j/qgGI60taSmA "neo4j-spatial LayerNodeIndex add() perfomance"
The text was updated successfully, but these errors were encountered: