Memory usage is a bit high.
I want it to be such that only if the feature is used that the memory is allocated for said feature. I also do not want to pollute the vertex structure - thus more features being exported into the meta structure such that only if you are using more niche features do you really need to allocate that memory.
I also want to have the adjacency array to be initialised as you need it, and not for n vertices; perhaps in n/4 increments, using realloc each time to ensure that memory usage on sparse graphs is not ridiculously high.
Memory usage is a bit high.
I want it to be such that only if the feature is used that the memory is allocated for said feature. I also do not want to pollute the vertex structure - thus more features being exported into the meta structure such that only if you are using more niche features do you really need to allocate that memory.
I also want to have the adjacency array to be initialised as you need it, and not for n vertices; perhaps in n/4 increments, using realloc each time to ensure that memory usage on sparse graphs is not ridiculously high.