I have data for a very large network, which is pretty sparse. I was wondering what would be the most efficient storage method and easy access to the two nodes.
Obviously, with N nodes, preserving the N * N matrix is not so efficient in terms of the space that I save. Therefore, I thought that perhaps keeping the adjacency list as shown below:
Array(Vector{Int64}, N_tmp)
Where N_tmp <= N, since many nodes may not have any connections.
Could you please help me if there are better ways or maybe packages that are better in terms of memory and access?
source share