AlgebraicJulia / Catlab.jl

A framework for applied category theory in the Julia language
https://www.algebraicjulia.org
MIT License
608 stars 58 forks source link

Benchmark two different implementations of making a path graph #820

Closed epatters closed 1 year ago

epatters commented 1 year ago

The function path_graph creates a path graph in a "vectorized" style, making only one call to add_edges!.

Inspired by #822.