METHOD OF OPERATING A COMPUTING DEVICE TO PERFORM MEMOIZATION
First Claim
1. A method of operating a computing device to perform memoization, the method including determining whether or not a result of a function is stored in a cache and, if so, retrieving the result from the cache and, if not, calculating the result and storing it in the cache, characterised in that the method includes:
- transforming by the computing device at least one selected from the group composed of the input parameters and the output parameters of the function, the transforming being based on an analysis of the function and its input arguments to establish whether or not there is a possible relationship among and between the input parameters and output parameters of the function, the relationship reflecting redundancy.
1 Assignment
0 Petitions
Accused Products
Abstract
This invention relates to a method (100) of operating a computing device to perform memoization. The method (100) includes determining whether or not a result of a function is stored in a cache and, if so, retrieving the result from the cache and, if not, calculating the result and storing it in the cache. The method (100) is characterised in that it includes transforming (104) by the computing device at least one selected from the group composed of the input parameters and the output parameters of the function, the transforming being based on an analysis of the function and its input arguments to establish whether or not there is a possible relationship among and between the input parameters and output parameters of the function, the relationship reflecting redundancy.
37 Citations
17 Claims
-
1. A method of operating a computing device to perform memoization, the method including determining whether or not a result of a function is stored in a cache and, if so, retrieving the result from the cache and, if not, calculating the result and storing it in the cache, characterised in that the method includes:
transforming by the computing device at least one selected from the group composed of the input parameters and the output parameters of the function, the transforming being based on an analysis of the function and its input arguments to establish whether or not there is a possible relationship among and between the input parameters and output parameters of the function, the relationship reflecting redundancy. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17)
-
16. A system for memoization, the system including:
-
a computing device; and a computer-readable medium defining a cache and having stored thereon a set of instructions configured to direct the operation of the computing device such that the computing device is operable to determine whether or not a result of a function is stored in the cache and, if so, to retrieve the result from the cache and, if not, to calculate the result and store it in the cache, characterised in that the computing device is further operable to; transform at least one selected from the group composed of the input parameters and the output parameters of the function, the transforming being based on an analysis of the function and its input arguments to establish whether or not there is a possible relationship among and between the input parameters and output parameters of the function, the relationship reflecting redundancy.
-
Specification