AI/python
cache화를 통한 속도 향상
bitpoint
2024. 3. 9. 17:27
import functools
*가장 최근의 한개의 연산을 저장
@functools.lru_cache(1)
def getCandidateInfoList(requireOnDisk_bool=True):