Speed-up cache updates
diff --git a/Lib/functools.py b/Lib/functools.py
index 1bbc520..f9e35d8 100644
--- a/Lib/functools.py
+++ b/Lib/functools.py
@@ -139,8 +139,7 @@
             try:
                 with lock:
                     result = cache[key]
-                    del cache[key]
-                    cache[key] = result         # record recent use of this key
+                    cache._move_to_end(key)     # record recent use of this key
                     wrapper.hits += 1
             except KeyError:
                 result = user_function(*args, **kwds)