7.17.3 Loading
Page 292 of 800 |
| Search internet |
Loading a page involves the following steps:
- If the reference r of a page is given, fetch the vector v of the page. If the vector v of a page is given, extract the reference r of the page from the vector. Start building the cache c of the page by setting c[0] to r and c[r]['vector'] to v.
- Trisect the vector into bibliography, dictionary, and flat body. Store them in c[r]['bibliography'], c[r]['dictionary'], and c[r]['body'].
- Load all transitively referenced pages.
- Unpack the flat body into a body and store it in c[r]['body'].
- Codify the body and store the result in c[r]['expansion'], c[r]['codex'], and c[r]['code'].
- Verify the page and store the result in c[r]['diagnose'].
- Write the rack c[r] to the the disk cache.
- Render the page in the rendering directory.
Above, however, if a page is already in the disk cache or even in memory, skip all steps up to and including the penultimate step. If a page is already rendered, also skip the last step.
If a page is taken from the disk cache, there still is one task that has to be done in that the compilation step of codification has to be done. That is so because racks in the disk cache are machine independent and leave out compiled versions of functions.
Page 292 of 800 |
| Search logiweb.eu |
Copyright © 2010
Klaus Grue,
GRD-2010-01-05