관리-도구
편집 파일: _lru_cache.cpython-37.pyc
B *��]� � @ sH d Z ddlmZ ddlmZ ddlmZ eddddd g�Zddd�Zd S )z� LRU cache implementation for Python 2.7 Ported from http://code.activestate.com/recipes/578078/ and simplified for our use (only support maxsize > 0 and positional arguments). � )� namedtuple)�update_wrapper)�RLock� CacheInfo�hits�misses�maxsize�currsize�d c s � fdd�}|S )z�Least-recently-used cache decorator. Arguments to the cached function must be hashable. See: http://en.wikipedia.org/wiki/Cache_algorithms#Least_Recently_Used c s� t � �ddg�d\� ��j�t�t� � g }||d d g|d d �<