Skip to content

Instantly share code, notes, and snippets.

@Ddedalus
Created June 27, 2018 11:35
Show Gist options
  • Select an option

  • Save Ddedalus/ad3de7ec7e4a2b804c777779fc9acd54 to your computer and use it in GitHub Desktop.

Select an option

Save Ddedalus/ad3de7ec7e4a2b804c777779fc9acd54 to your computer and use it in GitHub Desktop.
Size of adjacency list
uint64_t size = 0;
for(auto n : neighbours){
size += n.size() * sizeof(uint32_t);
}
cout<< "Loaded large graph. Size of adj. list is: " << size << endl;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment