Metadata-Version: 1.1
Name: memoized
Version: 0.2
Summary: General purpose efficient memoization
Home-page: https://bitbucket.org/gsakkis/memoized
Author: George Sakkis
Author-email: george.sakkis@gmail.com
License: MIT
Description: Memoized
        ========
        
        The common general versions of memoized decorators (`[1]`_, `[2]`_, `[3]`_) are
        often good enough but they incur some overhead that can be avoided in more
        special cases (`[4]`_). This package exposes a single callable, ``memoized``,
        that picks an efficient memoization implementation based on the decorated
        function's signature and a few user provided options. The included benchmark
        file gives an idea of the performance characteristics of the different possible
        implementations.
        
        Additionally, ``memoized`` allows:
        
        - Creating signature preserving decorators (through the decorator_ module).
        - Passing an external object as the underlying storage (e.g. an LRU cache)
          instead of a dict that is used by default.
        
        More options for customization and optimization may be added in the future.
        
        .. _[1]: http://wiki.python.org/moin/PythonDecoratorLibrary#Memoize
        .. _[2]: http://wiki.python.org/moin/PythonDecoratorLibrary#Alternate_memoize_as_nested_functions
        .. _[3]: http://wiki.python.org/moin/PythonDecoratorLibrary#Alternate_memoize_as_dict_subclass
        .. _[4]: http://code.activestate.com/recipes/578231-probably-the-fastest-memoization-decorator-in-the-/
        .. _decorator: https://pypi.python.org/pypi/decorator
        
        
        News
        ====
        
        0.2
        ---
        
        * Add ``hashable`` parameter.
        * Make it possible to use ``@memoized`` as equivalent of ``@memoized()``.
        
        0.1
        ---
        
        * Initial release
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: MIT License
