Created
June 27, 2018 11:35
-
-
Save Ddedalus/ad3de7ec7e4a2b804c777779fc9acd54 to your computer and use it in GitHub Desktop.
Size of adjacency list
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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