develooper Front page | perl.perl6.stdlib | Postings from September 2000

RFC 228 (v1) Add memoize into the standard library

Thread Next
From:
Perl6 RFC Librarian
Date:
September 14, 2000 21:59
Subject:
RFC 228 (v1) Add memoize into the standard library
Message ID:
20000915020923.18898.qmail@tmtowtdi.perl.org
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 <ziggy@panix.com>
  Date: Sep 14 2000
  Mailing List: perl6-stdlib@perl.org
  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



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About