[graph-tool] speed of all_neighbours

Howmahgee nhalmagyi at gmail.com
Wed Feb 14 12:33:10 CET 2018


yes, sorry for the lack of detail. Indeed, the issue was my method of timing

start=time.time()
v.all_neighbors()
print(time.time()-start)

there is overhead with the print statement, I suspect it is in converting
the decimal.

thanks for your help!



--
Sent from: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/



More information about the graph-tool mailing list