I am working on software where I need to create a graph (using boost :: adjacency_list). Incremental insertion of vertices takes a lot of time. So far, I have not worked on this problem because using STLport fixed this problem. Now I have transferred my work to Visual Studio 2008, but I canโt spend time using STLport (the difficulty in supporting compilation of enhancement libraries using STLport).
I would prefer not to store the vertices of the graph in the list, because I often use vertex identifiers, as if they were integers.
What other options should I solve this problem (in debug mode, as well as in release mode)?
user259233
source share