> What is meant by "slow" ? Why should looking for the smallest integer not in
> the graph be "slow" ?

"Slow" means linear, not constant, for the obvious reasons.

> Is there any good reason why the function g.add_vertex does not return the
> name of the newly created vertex ?

Because it gets *really* annoying if you're using an interactive
session, and you know what the vertices are. There should at least be
an option to return the vertex added, but I don't think that this
should be the default behavior. Generally, functions that return
something should reflect so in their name, and "add_vertex" doesn't
really fit this, whereas "add_vertex(return_vertex=True)" does... Just
my 2 cents.

-- 
Robert L. Miller
http://www.rlmiller.org/

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to