Sharing data in a data structure
Thu Jan 17 12:42:19 CET 2002
I just begun a project where the main data structure is a graph that shares
a lot of data across branches and also with other graphs. Since we have no
pointers here :-) the simplest alternative I came up with is to use indexes
in a list or table instead. But I am a little worried because there will be
a lot of searching when traversing the structure...
My question is: is there another way to do it? Maybe a different paradigm
may be used, but myself I cannot escape from this one...
Duplicating the data is not acceptable, because it is necessary that a
change in one place will be reflected everywhere. And it would also result
in a humungous amount of data.
Thank you in advance. Regards,
MSN Photos är det enklaste sättet att dela ut och skriva ut foton:
More information about the erlang-questions