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
Vue Injector 3.3
Spectrum Analyzer pro Live 2019
Devart Excel Add-in for HubSpot 2.1
RentALLScript - Airbnb clone 2.2
SuiteCRM Theme Customization 7.11.6
iScripts NetMenus 3.1
iScripts EasyIndex 2.2
iScripts EasySnaps 2.0
Australia MyPost shipping For Magento 2 1.0.0
Australia Post eParcel For Magento 1.1.1
Source Control for SQL Server 2.0
Answers phpSoftPro 3.12
Exlcart 2.0
School College ERP 1.3.2
White-label Grocery Delivery App Solution 2.0
Top Code
IcrediBB Bulletin Board System 1.0
Azizi search engine script PHP 4.1.10
Binary MLM Plan 1.0.2
MLM Binary Plan Script – i-Netsolution 1.0.2
Cuckoo Optimization Algorithm 1.0
jDUL/DUDE 1.0
Vue Injector 3.3
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
Answers phpSoftPro 3.12
Low Pass Butterworth Filter 1.0
Faculty Evaluation System 1.1
SaferMail 0.7
JavaRTMP 1.0
Robust Face Recognition via Sparse Representation - Implementation 1.0
SourceCode to Flowchart
Top Rated
Uber Clone with Safety Measure Addons 2.0
Answers phpSoftPro 3.12
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.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
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
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