[graph-tool] speed of all_neighbours

2018-02-11 Thread Howmahgee
I am new to graphtool but super excited by what I have implemented so far. I have a question however about the speed of the all_neighbors method. >From trying it on various machines, it seems that it takes around 0.01s for v.all_neighbors() where v is an arbitrary vertex. I have tried this on a 4

Re: [graph-tool] speed of all_neighbours

2018-02-14 Thread Howmahgee
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