getNodeById() is a cache lookup or a record load depending if the node was 
already loaded before.

But you can of course keep it in your local map, that will be faster.

Michael

Am 15.05.2014 um 10:16 schrieb Jaroslav Ramba <[email protected]>:

> Hi,
> if I create graph I keep all Vertex in map and I do some operations with 
> these.
> Map<Local ID, Vertex>
> 
> Will be better my solution or use graph.findNodeById() ?
> 
> What is time complexity of method findNodeById(). Thanks
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to