Higher-Order Perl
Chapter 3: Caching and Memoization
Table of Contents
- Caching Fixes Recursion
- Inline Caching
- Good Ideas
- Memoization
- The Memoize Module
- Scope and Duration
- Scope
- Duration
- Lexical Closure
- Memoization Again
- Caveats
- Functions Whose Return Values do not Depend on their Arguments
- Functions With Side Effects
- Functions that Return References
- A Memoized Clock?
- Very Fast Functions
- Key Generation
- More Applications of User-Supplied Key Generators
- Inlined Cache Manager with Argument Normalizer
- Functions with Reference Arguments
- Partitioning
- Custom Key Generation for Impure Functions
- Caching in Object Methods
- Memoization of Object Methods
- Persistent Caches
- Alternatives to Memoization
- Evangelism
- The Benefits of Speed
- Profiling and Performance Analysis
- Automatic Profiling
- Hooks
15806
words / 50 pages. (Last update Sun Nov 7 23:38:53 2004)
Chapter 2 | Chapter 4 | TOP
Return to:
Universe of Discourse main page |
What's new page |
Perl Paraphernalia |
Higher-Order Perl
mjd-perl-hop+@plover.com