AlgebraicJulia / AlgebraicJulia/ACSets.jl

`Base.similar` method for acsets

未關閉
#65 1 則留言 0 個 reaction 已指派 1 人 已被 @quffaro 認領 在 GitHub 檢視
enhancement
主要語言
Julia
星號
36
分支
11
PR 合併指標
30 天內沒有已合併 PR

描述

There are some places in the code (for instance in the nauty integration, but I bet not just there) where we copy or even `deepcopy` a whole acset just to get an acset of the same shape that we'll then overwrite. It might be nice to write a method of `Base.similar` that copies an acset's shape (i.e. attrtypes and cardinalities of homs) but leaves everything uninitialized for this kind of situation. I don't know enough about columns to know whether this would be trivial or annoying.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。