Cache Function Value
This script contains a few simple descriptor classes to compute and cache attribute value on demand and to define attribute as alias to other.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): Caching and aliasing with descriptors Download |
This class provides thunk-like behavior in standard Python. It allows a function to be evaluated only when needed, and the return value cached, or memoized, until explicitly deleted.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (54): A lazy, memoized attribute space Download |
Sometimes inside a decorator that creates a function with a generic (*args, **kwargs) signature, you want to access a value passed for a particular parameter name to a wrapped function, but don't know whether that value will be passed as a positional or keyword argument, or whether the wrapped...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): Finding the value passed to a function by name Download |
Apache::Cache is a cache data accessible between Apache childrens. SYNOPSIS use Apache::Cache qw(:status); my $cache = new Apache::Cache(default_expires_in=>"5 minutes"); # if the if the next line is called within 10 minutes, then this # will return the cache value overwise, this will...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (97): Apache::Cache Download |
Cache::Memcached::Managed is a Perl module that provides an API for managing cached information. SYNOPSIS use Cache::Memcached::Managed; my $cache = Cache::Memcached::Managed->new( 127.0.0.1:12345 ); $cache->set( $value ); $cache->set( $value,$id ); $cache->set( value => $value, id...
Platforms: *nix
License: Freeware | Size: 38.91 KB | Download (98): Cache::Memcached::Managed Download |
Function results are refreshed at cron time. This module is an API only.Installation - Unpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: - Drupal 4.7.x/5.x
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (59): Result cache Download |
A least recently used (LRU) cache for Python. Pylru implements a true LRU cache along with several support classes. The cache is efficient and written in pure Python. It works with Python 2.6+ including the new 3.x series. Basic operations (lookup, insert, delete) all run in a constant amount of...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (39): PyLRU Download |
Tie::FileLRUCache is a lightweight but robust filesystem based persistent LRU cache. SYNOPSIS OBJECT INTERFACE use Tie::FileLRUCache; my $cache = Tie::FileLRUCache->new({ -cache_dir => $directory, -keep_last => 100 }); # Inserting value into LRU cache using -key $cache->update({ -key =>...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (92): Tie::FileLRUCache Download |
In order to optimize any MATLAB function, there are two options: 1) rewrite the function to take only 1 array of inputs, reading all others from a file, perhaps, or from a global variable (undesirable), or 2) write an interface layer that handles this.This function provides an interface layer...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Generalized Objective Function Download |
Search::Binary is a Perl module for generic binary search. SYNOPSIS use Seach::Binary; $pos = binary_search($min, $max, $val, $read, $handle, [$size]); binary_search implements a generic binary search algorithm returning the position of the first record whose index value is greater than or...
Platforms: *nix
License: Freeware | Size: 2.05 KB | Download (105): Search::Binary Download |
hashit is a generic hash library. hashit implements diverse collision handling methods. This function creates a hash table which is returned as a hash_t type. errno is set to ENOMEM if there wasnt enough memory avaliable for creating the table. Return value is a reference to the table just...
Platforms: *nix
License: Freeware | Size: 28.67 KB | Download (95): hashit Download |
MLDBM::TinyDB is a Perl module that can help you to create and manipulate structured MLDBM tied hash references. SYNOPSIS use MLDBM::TinyDB; ## or use MLDBM::TinyDB qw/db add_common/; @common = qw/created updated/; ## optional $tree = [TABLE, FIELDS_LIST, [TABLE1, FIELDS_LIST1,...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (92): MLDBM::TinyDB Download |
Version 4.0 of Nikon's scanner software has many new features:The Digital DEE function has been added. (Available when SUPER COOLSCAN 9000 ED, SUPER COOLSCAN 5000 ED, or COOLSCAN V ED are connected.)The Scan Image Enhancer function has been added. (Available when SUPER COOLSCAN 9000 ED, SUPER...
Platforms: Mac
License: Freeware | Size: 29.4 MB | Download (127): Nikon Scan Download |
A QuickLook Plugin for Cinema 4D files! Please notice: This app is NOT from Maxon. Please Backup the Cinema 4D.app before you install it.
- Full resolution 800x800
- No rotated camera
- Runs until 06/31/2008
- Better cache function for calculated files
- Is a little bit faster
- No Backup...
Platforms: Mac
License: Freeware | Size: 604.16 KB | Download (53): Xpresso24 C4D QuickLook for Mac OS Download |
SOBI 2 - Sigsiu Online Business Index 2 is a directory component for the WCMS Mambo and Joomla! to show entries of companies, clubs, persons, shops, products and more.The entries are divided into categories, which can contain subcategories. One entry can be entered in up to five categories. The...
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (58): SOBI 2 Download |
The Particle Swarm Optimization Research Toolbox was written to assist with thesis research combating the premature convergence problem of particle swarm optimization (PSO). The control panel offers ample flexibility to accommodate various research directions. After specifying your intentions,...
Platforms: Matlab
License: Freeware | Size: 1.92 MB | Download (42): Particle Swarm Optimization Research Toolbox Download |
This is a large set of test functions, which may be used to test the effectiveness of global optimization algorithms. Some are rather easy to optimize (rosenbruck, leon, ...), others next to impossible (crosslegtable, bukin6, ...).All the test-functions are taken from either [1], [2] or [3] (see...
Platforms: Matlab
License: Freeware | Size: 40.96 KB | Download (44): Many testfunctions for global optimizers Download |
SIMPGRIDSEARCH Multi-dimensional unconstrained nonlinear minimization using grid search + Simplex method. X = SIMPGDSEARCH(OBJFUN,GDVALUES) returns a vector X that is a minimizer of the function described in OBJFUN (usually an m file: OBJFUN.M).See OBJFUN_DEMO.M for how to write an objective...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): SIMPGDSEARCH Download |
This script memoizes, but clears cache when last function call returns.It is suitable for dynamic programming.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): Memoization with cache cleared on return Download |
CGI::Cache is a Perl extension to help cache output of time-intensive CGI scripts. WARNING The interface as of version 1.01 has changed considerably and is NOT compatible with earlier versions. A smaller interface change also occurred in version 1.20. SYNOPSIS Heres a simple example:...
Platforms: *nix
License: Freeware | Size: 44.03 KB | Download (93): CGI::Cache Download |