Yes, neither do I think that should slow down the code. However, that's the only part that two code are different in. So, I would like to hear from Gabor about how igraph.vs() works.
Thank you, Tamas. You really help me a lot through our discussion. I really appreciate! ___________________________________________________________ Phil Hengjun Cui Drexel University | Electrical and Computer Engineering Philadelphia, USA ___________________________________________________________ On Fri, Aug 14, 2015 at 12:33 PM, Tamas Nepusz <[email protected]> wrote: > > is the reason of slowing down the code because the attributes of > "igraph.vs" or "igraph.es" occupies more memory? > > I don't think that makes a significant difference, unless igraph.vs() > is doing something weird behind the scenes (theoretically, it should > only be a wrapper that encapsulates the vertex indices). However, I'm > not too familiar with the internals of the R interface so Gábor can > probably answer this way better than me. > > T. > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help >
_______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
