mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-20 18:17:59 -04:00
6 lines
321 B
Plaintext
6 lines
321 B
Plaintext
`Memoizing' a function makes it faster by trading space for time. It
|
|
does this by caching the return values of the function in a table.
|
|
If you call the function again with the same arguments, C<memoize>
|
|
jmups in and gives you the value out of the table, instead of letting
|
|
the function compute the value all over again.
|