Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
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"