| To: | CinJug <users@xxxxxxxxxx> |
|---|---|
| Subject: | method caching and memoization |
| From: | Abdul Habra <ahabra@xxxxxxxxx> |
| Date: | Mon, 19 Mar 2007 19:11:30 -0700 (PDT) |
| Delivered-to: | mailing list users@cinjug.org |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=hG1cQFUlZiBaDhfG4X5NC/nLu8S3ficAeG5gFNAmAA3iVX6+5Z+xxCPn58KFjfpny/ZV6fYcGQxpW/9HGJYWbLQnt2wnzc6CJTpf3ggWM9bPoF75+knvks6kVA0pDdOJ+Kb70uH82Di2hPU/NQPAlYEUm4PtJu40L/ttNo2Dijc=; |
| Mailing-list: | contact users-help@cinjug.org; run by ezmlm |
|
Memoization is an optimization technique used primarily to speed up computer programs by storing the results of function calls for later reuse, rather than recomputing them at each invocation of the function. (According to wikipedia) I have implemented a memoization library and released it with LGPL. http://www.tek271.com/free/memoizer/tek271.memoizer.intro.html This implementation uses annotations, is based on cglib, and supports pluggable cache implementations. For example to memoize a method: @Remember public String slowMethod(String param1) { System.out.println("inside slowMethod(" + param1 + ")"); return param1 + param1; } Do you guys/gals think it is helpful? Is it worth pursuing? Any
suggestions? Thank You, Abdul Habra
Don't be flakey. Get Yahoo! Mail for Mobile and always stay connected to friends. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [cinjug-users] Next meeting location, Mike Ball |
|---|---|
| Next by Date: | :SPAM: Re: Possible. m.eeting, Marla |
| Previous by Thread: | Next meeting location, twcrone |
| Next by Thread: | :SPAM: Re: Possible. m.eeting, Marla |
| Indexes: | [Date] [Thread] [Top] [All Lists] |