RFC 228 (v1) Add memoize into the standard library
[email protected] (Perl6 RFC Librarian) 15 Sep 2000 02:09:23 -0000
| Newsgroups | perl.perl6.stdlib,perl.perl6.announce.rfc |
|---|---|
| Message-ID | <[email protected]> |
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Add memoize into the standard library =head1 VERSION Maintainer: Adam Turoff <[email protected]> Date: Sep 14 2000 Mailing List: [email protected] Number: 228 Version: 1 Status: Developing =head1 ABSTRACT Caching through memoization is a very useful construct. It should be a standard module. =head1 DESCRIPTION Memoization is a very useful technique to transparently cache function return values. It can be used to quickly optimize recursive functions, or functions that take a long time to execute (such as gethostbyname). A version of Memoize.pm should be added into the Perl6 standard library, and it should be added as a pragmatic module (i.e. memoize.pm). Adding Memoize plugins (Memoize::Expire, etc.) into the standard library is a separate discussion. =head1 MIGRATION ISSUES None. =head1 IMPLEMENTATION Add memoize into the perl6 source tarball, as a pragmatic module. =head1 REFERENCES Memoize.pm http://search.cpan.org/search?dist=Memoize MiniMemoize from TPJ: http://www.plover.com/~mjd/perl/MiniMemoize/memoize.html