memoize uses thread local (static) cache. What's about making its "shared" version in standard lib? Good idea? Also shared and thread-safe version? (Tried to send to "Phobos" forum previously, but "SMTP error: Socket error: recv() error: Connection refused".)