|
From: | Hadidi, Lars |
Subject: | [igraph] igraph_add_vertices memory allocation |
Date: | Fri, 11 Sep 2015 11:25:29 +0000 |
According to lines 375-376 in file 'type_indexededgelist.c' there will be a vector reseizing when adding vertices to a graph. What does the comment /*reserved*/ mean in that context ? Will there be a reallocation or is it preallocated, and if so, is there a function on a graph which I can use to do a memory reservation ? |
[Prev in Thread] | Current Thread | [Next in Thread] |