JVM Languages
compress.txt
Associated article: An Algorithm for Compressing Space and Time
Tags: Parallel Design JVM Languages
Published source code accompanying the article by Tomas Rokicki in which he presents a new approach that improves program performance. Also see COMPRESS.ZIP.
Algorithms for Compressing Space and Time
by Tomas G. Rokicki
Example 1:
(a)
int fib(int n) {
if (n < 3)
return 1 ;
return fib(n-1) + fib(n-2) ;
}
(b)
int cache[] ;
int fib(int n) {
if (n < 3)
return 1 ;
if (cache[n])
return ...


