math1um / objects-invariants-properties

Objects, Invariants and Properties for Graph Theory (GT) automated conjecturing: in particular with the Sage program CONJECTURING: http://nvcleemp.github.io/conjecturing/
GNU General Public License v3.0
14 stars 6 forks source link

Speed up loading #653

Open math1um opened 1 year ago

math1um commented 1 year ago

What is taking so long in loading gt.sage? Is it the construction of the graphs? Can we speed things up by delayed loading of the larger graphs? How should we do that?

Can we save memory too? How much?

math1um commented 1 year ago

The large strings in graphs.sage are now in the list large_graph_strings, and the corresponding constructors are commented out,

  1. We still need a function that constructs the graphs when a user wants them,
  2. That includes names for the graphs. One idea for setting this up is the dictionary idea in the class0graphs.sage file taht associates names stored in a dictionary.
  3. We'll need to print a statement at runtime telling the user that the large graphs aren't loaded and how to load them (what function will load them, and what is the name of the corresponding list).