On 13/05/2012 18:53, Alex Rønne Petersen wrote:
<snip>
Which forces you to:

1) use an AA lookup
2) use the GC

Not an optimal solution IMHO.

But you're going to need to use the GC anyway.  How else are you going to store 
the string?

Memoization is a form of laziness. This concept applies to the allocation of memory to hold the result as much as to the actual calculation of the result.

Stewart.

Reply via email to