Purity Analysis Using White List/Black List Analysis
First Claim
Patent Images
1. A method performed by at least one processor, said method comprising:
- determining that a first function has a first side effect;
looking up said first side effect in a side effect database;
determining that said first side effect is de minimus from said side effect database; and
causing said first function to be memoized.
2 Assignments
0 Petitions
Accused Products
Abstract
Memoizable functions may be identified by analyzing a function'"'"'s side effects. The side effects may be evaluated using a white list, black list, or other definition. The side effects may also be classified into conditions which may or may not permit memoization. Side effects that may have de minimus or trivial effects may be ignored in some cases where the accuracy of a function may not be significantly affected when the function may be memoized.
62 Citations
20 Claims
-
1. A method performed by at least one processor, said method comprising:
-
determining that a first function has a first side effect; looking up said first side effect in a side effect database; determining that said first side effect is de minimus from said side effect database; and causing said first function to be memoized. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A system comprising:
-
a processor; a purity analyzer executing on said processor that; determines that a first function has a first side effect; looks up said first side effect in a side effect database; determines that said first side effect is de minimus from said side effect database; and causes said first function to be memoized. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20)
-
Specification