You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several utility programs build a cache of Pod 6 documents, only they do so in different ways.
htmlify puts it in a global variable, $*DR
pod-valid.t just ditches of the file as soon as it's checked.
pod2onepage actually builds and puts it in a .precomp data store, used as a cache. That is why when you change just one page it says (cached)
p6doc creates one index.data file, which is not used by anyone else.
Baseline is: many programs, some of them run in sequence, load and build Perl 6 objects out of Pod 6 files only to ditch it later. We should make them use the same objects, precomputed if they are available.
Suggestions
Could we maybe take a look at all this and create a single cache for docs that could speed up at least local testing? Would be part of #1823, but not the whole lot, of course...
The text was updated successfully, but these errors were encountered:
Instead of generating pod files each time for each test that needs
it, generate a cache as we go, that uses the timestamp to insure
we don't regen them if not needed.
This temporarily removes the concurrency from some files.
Related to #1952
The problem
Several utility programs build a cache of Pod 6 documents, only they do so in different ways.
$*DR.precompdata store, used as a cache. That is why when you change just one page it says(cached)index.datafile, which is not used by anyone else.Baseline is: many programs, some of them run in sequence, load and build Perl 6 objects out of Pod 6 files only to ditch it later. We should make them use the same objects, precomputed if they are available.
Suggestions
Could we maybe take a look at all this and create a single cache for docs that could speed up at least local testing? Would be part of #1823, but not the whole lot, of course...
The text was updated successfully, but these errors were encountered: