Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reserve vector size #27

Closed
richelbilderbeek opened this issue Dec 29, 2015 · 1 comment
Closed

Reserve vector size #27

richelbilderbeek opened this issue Dec 29, 2015 · 1 comment

Comments

@richelbilderbeek
Copy link
Owner

Here is the thread:

https://www.reddit.com/r/cpp/comments/3xw5q0/a_wellconnected_c11_boostgraph_tutorial/

From mat69:

  • You often create vectors of vertices/edges/names. When using unfiltered graphs you could use reserve in combination with num_edges, num_vertices.
richelbilderbeek pushed a commit that referenced this issue Dec 29, 2015
@richelbilderbeek
Copy link
Owner Author

Thanks typo, I will code this issue by hand then :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant