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
getch() Icon
A small utility class to read single characters from standard input
Album Track List Generator Icon
Album Track List Generator allows you to extract artist, album title and track t
Free
Dendrogram drawing Icon
This recipe draws a dendrogram (horizontal format used for evolutionary trees)
Disk Dumper Icon
This recipe will display a hex dump of the disk specified on the command line.
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
More