Serhiy Storchaka added the comment: With C implementation (issue14373) functools.lru_cache is so fast as manually written specialized code. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue21486> _______________________________________