util_memoize

EveAndersson.com : API Browser : util_memoize

util_memoize

util_memoize tcl_statement [ oldest_acceptable_value_in_seconds ]
Defined in packages/acs-core/utilities-procs.tcl

Returns the result of evaluating the Tcl statement argument and then remembers that value in a cache; the memory persists for the specified number of seconds (or until the server is restarted if the second argument is not supplied) or until someone calls util_memoize_flush with the same Tcl statement. Note that this procedure should be used with care because it calls the eval built-in procedure (and therefore an unscrupulous user could

Parameters:
tcl_statement
oldest_acceptable_value_in_seconds (optional)
[ show source ]

Show another procedure:

eve@eveandersson.com