Description Usage Arguments Details Value Examples
Creates a wrapper for generating the md5 checksum for the calling function and its arguments. If a file with the md5 as its filename exists in the specified folder then this is loaded. Otherwise the function is evaluated and the results are stored in the specified folder.
1 | md5_cache(path)
|
path |
the path to where the files will be cached. |
md5 checksums on the called function and any function-arguments are generated by creating a text file in the specified folder and digesting the text file before deleting it. md5 checksums on character arguments are carried out on the file (if the file exists) or on the character as appropriate.
An md5 wrapper for intensive computations. This has arguments
fn
: the function being called
...
: the arguments to be passed to the function
print_output
: if T, details of md5 digest are outputted to screen.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.