mom25d.linecache - the wave ports' line characterisations (sim.line_char_xs,
sim.line_char_pair) kept on disk by their cross-section, so that a board run
again does not solve its feeds' lines again: on tests/boards/launch.json they
are 14.4 s of a 14.6 s set-up, at every run (R-D10).
MOM25D_CACHE the folder (default: $XDG_CACHE_HOME/mom25d, else
~/.cache/mom25d); 'off': nothing kept
out, kept = cached('xs', stack, dict(layer=.., w=.., ...),
lambda: line_char_xs(...))
An entry's key is the stack (each layer's h, er, tan d and fref; the covers),
what the call was given and a digest of mom25d's own code (its modules and
compiled core): a change to any of them solves the line again. A cache that
cannot be read or written is no cache (the line is solved).