[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] why use floating point for graph nodes?
From: |
Tamas Nepusz |
Subject: |
Re: [igraph] why use floating point for graph nodes? |
Date: |
Wed, 4 Nov 2015 23:18:08 +0100 |
> Why does igraph use floating point data (C doubles) to represent graph
> vertices? It seems like an unusual choice and I would expect it to
> negatively affect performance. Is it an R heritage?
Errrrm... it used to be that way a (not so) long time ago; see this
thread on the mailing list:
https://lists.nongnu.org/archive/html/igraph-help/2009-01/msg00119.html
However, I have just checked the source code and igraph_integer_t is
now typedef'd to an int so this is probably not the case any more.
T.