aimclub / GOLEM

Graph Optimiser for Learning and Evolution of Models
https://thegolem.readthedocs.io
BSD 3-Clause "New" or "Revised" License
63 stars 7 forks source link

Optimize computation of structural graph id #134

Open gkirgizov opened 1 year ago

gkirgizov commented 1 year ago

During optimization structural id is computed several times per graph. Maybe we should do better.

One idea is memoization: compute id once and store. If graph changes -- reset cached id.

Can make #131 faster.