igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Union of two graphs keeping attributes


From: Tamás Nepusz
Subject: Re: [igraph] Union of two graphs keeping attributes
Date: Wed, 5 Jun 2013 22:12:20 +0200

Hi,

> regarding a question which was asked before in this ML by Gábor Tóth,
> you can find my solution here, which works, but is still too slow for
> me:
> 
> http://stackoverflow.com/questions/16928593/igraph-python-union-preserving-attributes
> 
> Hope someone can find a way to speed it up.
This is probably as good as it gets using pure Python. Have you tried to 
measure which part is the slowest in your case? Is it the addition of edges, or 
the part where the vertex/edge attributes are copied?

-- 
T.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]