Cache decorator in python Icon

Cache decorator in python

The latest version of Python introduced a new language feature

Cache decorator in pythonOverview

Editor: The latest version of Python introduced a new language feature, function and method decorators. This recipe show a common callable transformation that can benefit from the new syntax, often referred to as Memoization pattern.

NEW

Fixed some bugs.

Cache decorator in pythonInformation

Version
2.4
Date
04.08.10
License
Free
Language
English
File Size
N/A
Developer
Category
SubCategory
Operating Systems
Windows ,Linux,Mac OS,BSD,Solaris
System Requirements
No additional system requirements.
Property decorator for python Icon
This recipe refines an older recipe on creating class properties
Fixed keys mapping type Icon
Memory efficiency in the scenario of having many dicts with the same keys.
More
Principal Component Analysis (PCA) Icon
A class that carries out Principal Component Analysis (PCA).
Free
SRCDS Icon
A library to interface with Half-Life2 Dedicated Servers
Free
Complex Boolean Regular Expression Class Icon
Need to look for the occurence of words in a string or group of words
Free
Display an Image from a specified file Icon
Reads an image file from the filename specified as the 1st parameter
Free
Quickslice decorator Icon
Quickslice decorator script defines a decorator that allows for an abbreviated
Free
mx.ODBC example Icon
mx.ODBC example script shows you how to get the columns of a table and get data.
Free
Python replacement for java.util.Properties Icon
Quick and easy way to process Java properties files using pure Python
Free
Merging two sorted iterators Icon
Provide a mergeiter() function that can merge two iterators into single iterator
Free
More