Alex Rønne Petersen:

But how would you memoize the value in the instance of the object if it's const?

I opened a thread on such matters:
http://forum.dlang.org/thread/[email protected]

-------------------

Jonathan M Davis:

Caching and lazy evaluation _will_ be impossible in those functions without breaking the type system.<

Take a look at the articles I've linked.

Bye,
bearophile

Reply via email to