Categories: None [Edit]
dirty-memoize
Like Memoize, but designed for mutable and parametizable objects
Use when:
1. You have one expensive method (\compute) which set many internal
variables. So, is preferable lazy evaluation of these dependent variables.
2. The expensive operation depends on one or more parameters
3. Changes on one or more parameters affect all dependent variables
4. You may want to hide the call of 'compute' operation
5. The user could want test several different parameters values
Total
Ranking: 6,877 of 188,174
Downloads: 655,729
Daily
Ranking: 14,032 of 188,166
Downloads: 41
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 6,647 | 705,073 | statsample |
| 122,817 | 5,337 | statsample-sem |
| 151,925 | 3,665 | statsample-ekatena |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | clbustos |