Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Spire.PDF for Java 2.7.8
Database Workbench Pro 5.6.10.0
The C# PDF Library 2020.1.5
CAD-Viewer 3DVBVIEW V4
dotConnect for SQLite 5.15
LuaStudio 9.92
EntityDAC 2.3
Devart ODBC Driver for QuickBooks 2.0
phpEnter 5.1.
Udemy Clone script 2.01
VisualNEO Web 19.11.7
VisualNEO for Windows 19.4.29.0
SentiVeillance SDK Trial 7.3
Devart ODBC Driver for PostgreSQL 3.2
SecureBridge 9.2
Top Code
SecureBridge 8.0
dotConnect for SQLite 5.9
EntityDAC 1.6
Database Workbench Pro 5.6.10.0
ATN Site Builder 3.0
ATN Resume Finder 2.0
Aglowsoft SQL Query Tools 8.2
PHP Review Script 1.0
Devart ODBC Driver for PostgreSQL 3.2
Classified Ad Lister 1.0
Solid File System OS edition 5.1
ADO.NET Provider for ExactTarget 1.0
Deals and Discounts Website Script 1.0.2
ICPennyBid Penny Auction Script 4.0
Invoice Manager by PHPJabbers 3.0
Top Rated
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
LRU and LFU cache decorators 
File ID: 65613






LRU and LFU cache decorators 
Download LRU and LFU cache decorators http://code.activestate.com/recipes/578091-simple-tool-for-simulating-classes-using-closures-/Report Error Link
License: Freeware
Downloads: 9
Submit Rating:
LRU and LFU cache decorators  Description
Description: One-line decorator call adds caching to functions with hashable arguments and no keyword arguments. When the maximum size is reached, the least recently used entry or least frequently used entry is discarded -- appropriate for long-running processes which cannot allow caches to grow without bound. Includes built-in performance instrumentation.

License: Freeware

Related: Shortcuts

O/S:Windows

Downloads: 9



More Similar Code

Hot Linked Image Cacher is a Free and Open Source Wordpress plugin which is able to automatically search for Hot Linked Images within your posts and automatically cache the images locally and update the img links within your posts. It doesn't matter if you have 1 post or 100,000 posts, it will handle it. You can control exactly which post to cache by optionally specifying a post id number (or just put all to cache all posts). You can also...



Open Source Software Tool for installing and configuring Squid: Proxy Server and Web Cache Daemon.
Developed By: Ashwin Tumma



Paos is a server for Python objects and event notifications, and comes with a client module for network communication and object cache management. Paos is often used in workflow systems and similar applications.



Reconstruct change and change flow information from SVN repositories and augment TortoiseSVN log and merge cache with it.



This script scans directories that was uploaded to CloudFront and build files index. When you modify some files, script automatically see what files was modified since the last update, and clear cache on CloudFront only for them.

Usage:...



QF-GetThumb is plugin to make the thumbnail and the cache of first image data in the content and the argument source.This plugin can make JPEG, GIF, a format of PNG, And makes the image of not only a local server but also the outside link a...



This plugin will automatically show your GTalk status on your WordPress blog. You can set a max-shown number and the cache interval to make it works more smoothly.

FYI:The principle of this plugin is to refine your GTalk badge page,...



A template system that is easy to install and customize. Features creation and editing of pages via a WYSIWYG interface, editing of styles/colors, picture uploading, newsletter creation and forum hosting. Includes security config and a cache system.



Make java data object persistent in file system whithout database. Between serialization in file and database. Cache your data model in file. Manage more objects than memory can contains



The advanced caching module is mostly a set of patches and a supporting module to bring caching to Drupal core in places where it is needed yet currently unavailable. These include caching nodes, comments, taxonomy (terms, trees, vocabularies and...

User Review for LRU and LFU cache decorators
- required fields
     

Please enter text on the image