summaryrefslogtreecommitdiff
path: root/6/asm.h
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-12-06 19:34:05 -0800
committerOri Bernstein <ori@eigenstate.org>2016-12-06 19:34:05 -0800
commit822da329297079d473f20a6fe14c7c2d712cdc83 (patch)
treee508b662c8a3702a1e41c63eed84c4ae6a9c7481 /6/asm.h
parentd495c764a13dbc06ff3fbdd5254123b5125f4dd1 (diff)
downloadmc-822da329297079d473f20a6fe14c7c2d712cdc83.tar.gz
Grow the adjacency lists incrementally.
We don't need to waste *THAT* much RAM on them.
Diffstat (limited to '6/asm.h')
-rw-r--r--6/asm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/6/asm.h b/6/asm.h
index 83b3a98..f5edae7 100644
--- a/6/asm.h
+++ b/6/asm.h
@@ -190,6 +190,7 @@ struct Isel {
size_t *gbits; /* igraph matrix repr */
regid **gadj; /* igraph adj set repr */
size_t *ngadj;
+ size_t *gadjsz;
size_t nreg; /* maxregid at time of alloc */
int *degree; /* degree of nodes */
int *nuses; /* number of uses of nodes */