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
VisualNEO Web 2018.12.15
SentiMask SDK Trial 1.0.0
OrgChart JS 4.6.4
dotConnect for BigCommerce 1.8
FedEx Smart Shipping For Magento 1.0.0
Database Workbench Pro 5.6.2.311
Taxi App Development 7.3
RentALL-Airbnb clone script 1.8.0
PHP Ecommerce Script 1.3.2
dbForge Studio for PostgreSQL 2.1
Rentonn - Airbnb clone 1.0
VisualNEO for Windows 18.08.31.0
SentiVeillance SDK Trial 7.0.191272
dbForge SQL Complete 6.1
Uber for E-Scooters 1.0
Top Code
JChartLib 1.0
MCU 8051 IDE 1.4.7
Library Management System 1.0
Azizi search engine script PHP 4.1.10
Alumni Manager System 1.0
Ticket Booking Software – PHP Scripts mall 1.0.2
Paste phpSoftPro 1.4.1
Modbus RS232 ASCII Communication Functions 1.0
Simple Fuzzy Control Demonstration 1.0
Restaurant Table Reservation System 1.0
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
Billing System 1.0.1
3D World (OpenGL walk through city) Script 1.1
PHP MLM Software 2.0.1
Ridgelet and Curvelet first generation Toolbox 1.0
Top Rated
VisualNEO Web 2018.12.15
Paste phpSoftPro 1.4.1
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
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
Adaptive Replacement Cache in python 
File ID: 64830






Adaptive Replacement Cache in python 
Download Adaptive Replacement Cache in python http://code.activestate.com/recipes/576532-adaptive-replacement-cache-in-python/?in=lang-pythonReport Error Link
License: Freeware
Downloads: 29
Submit Rating:
Adaptive Replacement Cache in python  Description
Description: Python implementation of an adaptive replacement cache, as described in:

http://en.wikipedia.org/wiki/Adaptive_Replacement_Cache

Caveat: This may or may not be under patent by IBM, beware of putting it in production code. I implemented it as an experiment, and since I'm in Europe I do not believe a software patent can apply to anything I write.

License: Freeware

Related: caching, decorators

O/S:Windows

Downloads: 29



More Similar Code

My First Poem Written in Python



I saw something like this in C++ as an introduction to Monte Carlo, so I decided to make something similar in Python. My original code used for loops, but I vectorized it with no small amount of effort, and it now runs orders of magnitude faster....



Linux Network Block Device server in Python

This is a simplified version based on Kragen Sitaker's http://lists.canonical.org/pipermail/kragen-hacks/2004-May/000397.html

Close is never actually called, at least not on the...



This is my first poem writing in python.
Why i do that?
I do because i saw some perl poems and not so much in python, just it! =)
Python developers let's go express your art, and domain of langague Python...!!!!



How To Cache in ASP.NET by Using Visual C# .NET is an ASP.NET article which explains about the methods involved to cache web pages and arbitrary objects in the server memory. In this article author explains about various steps involved in storing...



This recipe can be used to sort very large files (millions of records) in Python. No record termination character is required, hence a record may contain embedded binary data, newlines, etc. You can specify how many temporary files to use and...



The with statement in Python 2.5 can be used similarly to the anonymous blocks of code in Ruby.



This is a simple maze generator & solver written in Python. It is written as a game, consisting of classes which can read mazes from STDIN or a file. It provides a a random maze generator game, which can generate mazes of any dimension and...



This is a variation on the existing recipe "Constants in Python" by Alex Martelli. It binds a variable to the type value at first usage. Further usage is then restricted to values of the same type. This avoids a variable of, say, type...



One can (ab)use this decorator to get the effect of a Lisp-like with_open_file block in Python. Kind of. Requires Python 2.4.

User Review for Adaptive Replacement Cache in python
- required fields
     

Please enter text on the image