QuikGraph icon indicating copy to clipboard operation
QuikGraph copied to clipboard

Add to edges with no node check

Open andrea-cassioli-maersk opened this issue 2 years ago • 4 comments

Is your feature request related to a problem? Please describe. Running some profiling on our application, it seems that adding edges to a bidirectional graph is quite expensive, and in particular quite an amount of time is spent in looking up if origin and destination nodes are valid, i.e. they exists.

Describe the solution you'd like I was thinking about a flag to disable node existence checking. It could be enable by default, without breaking current interface.

andrea-cassioli-maersk avatar Nov 29 '21 16:11 andrea-cassioli-maersk