VEZY / MultiScaleTreeGraph.jl

Read, analyse, compute, write and convert MTG files
https://vezy.github.io/MultiScaleTreeGraph.jl/stable
MIT License
10 stars 1 forks source link

Use symbols for MTG description #74

Open VEZY opened 5 months ago

VEZY commented 5 months ago

We should use symbols for the symbol and link of the node, it is ~10 times faster for comparison compared to strings, and we only do that anyway. There is also no new allocation when a symbol appear more than once.

Of course we have to still support strings from the users, but convert them to symbols under the hood. And document that using symbols is preferred over strings.