Skip to content

Commit 66ed6be

Browse files
Артем ВетошкинMockird31
authored andcommitted
msgpack: add lru_cache for init_msgpack_extensions
1 parent 01e99ee commit 66ed6be

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tarantool/msgpack_ext/extensions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class Extension(namedtuple("Extension", "decode encode type")):
4040
TARANTOOL_DECIMAL_MAX_DIGITS_V35 = 76
4141

4242

43+
@functools.lru_cache(maxsize=None)
4344
def init_msgpack_extensions(tarantool_version=None):
4445
"""
4546
Initialize MessagePack extension type handlers.

0 commit comments

Comments
 (0)