By bloid
via martin.ankerl.com
Published: Dec 24 2008 / 15:14
![]() | |
| HTML5 Canvas | |
| Written by: Simon Sarris | |
| Featured Refcardz: Top Refcardz: | |
| 150+ Refcardz Available · Get them all | |
By bloid
via martin.ankerl.com
Published: Dec 24 2008 / 15:14
Comments
Eugene Kuleshov replied ago:
Seem like an example how to not to do this. I recommend to read "Java concurrency in practice", there is an example how caching proxy code should look like.
sunitram replied ago:
why not do it this way?
stanasic replied ago:
Interesting, but dynamic proxying has been around for quite some time, since 1.3, so I would hardy call this amazing.
jimwhite replied ago:
This is a widely known technique called memoization.
http://en.wikipedia.org/wiki/Memoization
Just looked at the Java implementation link, and it is this same proxy method published five years ago.
http://www.onjava.com/pub/a/onjava/2003/08/20/memoization.html
Voters For This Link (7)
Voters Against This Link (3)