util_memoizeutil_memoize tcl_statement [ oldest_acceptable_value_in_seconds ]
Defined in packages/acs-core/utilities-procs.tclReturns 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)
|