Open balqui opened 1 month ago
Right now, edges only exist from u to v where u < v, which leads to many many calls to min and max at the time of accessing it.
Storing both ways would duplicate the space but would accelerate the accesses.
See also https://github.com/balqui/degais/issues/12
Right now, edges only exist from u to v where u < v, which leads to many many calls to min and max at the time of accessing it.
Storing both ways would duplicate the space but would accelerate the accesses.