This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[ID 20010912.007] substr reference core dump
[perl5.git] / lib / Memoize / README
CommitLineData
a0cb3900
JH
1
2Name: Memoize
3What: Transparently speed up functions by caching return values.
899dc88a 4Version: 0.65
a0cb3900
JH
5Author: Mark-Jason Dominus (mjd-perl-memoize+@plover.com)
6
7################################################################
8
9How to build me:
10
11 perl Makefile.PL
12 make
13 make test
14
15There's a very small chance that the tests in speed.t and
16expire_module_t.t might fail because of clock skew or bizarre system
17load conditions. If the tests there fail, rerun them and see if the
18problem persists.
19
20If the tests work,
21
22 make install
23
24If not, please send me a report that mentions which tests failed.
25The address is: mjd-perl-memoize+@plover.com.
26
27################################################################
899dc88a 28What's new since 0.62:
a0cb3900 29
a0cb3900 30
899dc88a 31 N O T I C E !
a0cb3900 32
899dc88a
JH
33 ****************************************************************
34 ** **
35 ** The TIE option is now strongly deprecated. It will be **
36 ** permanently removed in the NEXT release of Memoize. **
37 ** Please convert all extant software to use HASH instead. **
38 ** **
39 ** See the manual for details. **
40 ** **
41 ****************************************************************
a0cb3900 42
899dc88a
JH
43I'm sorry about this. I hate making incompatible changes. But as of
44v0.65, Memoize is included in the Perl core. It is about to become
45much more difficult to make incompatible interface changes; if I don't
46get rid of TIE now, I may not get another chance.
a0cb3900 47
899dc88a
JH
48TIE presented serious problems. First, it had a bizarre syntax. But
49the big problem was that it was difficult and complicated for
50expiration manager authors to support; evern expiration manager had to
51duplicate the logic for handling TIE. HASH is much simpler to use,
52more powerful, and is trivial for expiration managers to support.
a0cb3900 53
899dc88a 54Many long-awaited cleanups and bug fixes.
a0cb3900 55
899dc88a 56Memoize now works under threaded perl
a0cb3900 57
899dc88a 58Slow tests speeded up. More test file improvements.
a0cb3900 59
899dc88a
JH
60Long-standing LIST_CACHE bug cleared up---it turns out that there
61never was a bug. I put in tests for it anyway.
a0cb3900 62
899dc88a 63Manual increased.
a0cb3900 64