I am working on a software where i have to create a graph (using boost::adjacency_list). The incremental insertion of vertices takes an extremely long time. Until now, i hadn't worked on the issue, because the use of STLport made this problem go away. I have now migrated my work to Visual Studio 2008, but can't take the time to go on using STLport (difficulty to maintain compilation of boost libraries using STLport).
I'd rather not store the graph vertices in a list, because i am often using vertex identifiers as if they were integers.
What other options do i have to solve this issue (in debug as well as release mode) ?