aboutsummaryrefslogtreecommitdiff
path: root/immutables
diff options
context:
space:
mode:
authorYury Selivanov <yury@edgedb.com>2022-05-21 21:47:35 -0700
committerYury Selivanov <yury@edgedb.com>2022-05-21 23:21:55 -0700
commit37b52b7f9bcb9bb7353637563f24f18193b6c5d3 (patch)
tree13f5a74adb452046d5d55670047b352d348c122a /immutables
parent71ecba537df21ae1ba907fc00937f6bf77c045a8 (diff)
downloadimmutables-37b52b7f9bcb9bb7353637563f24f18193b6c5d3.tar.gz
immutables-37b52b7f9bcb9bb7353637563f24f18193b6c5d3.zip
Fix iteration when the tree is 7 levels deep + collisions
Fixes issue #84. Co-authored-by: eli <eli@hyro.ai>
Diffstat (limited to 'immutables')
-rw-r--r--immutables/_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/immutables/_map.h b/immutables/_map.h
index dd12af9..28142ce 100644
--- a/immutables/_map.h
+++ b/immutables/_map.h
@@ -4,7 +4,7 @@
#include <stdint.h>
#include "Python.h"
-#define _Py_HAMT_MAX_TREE_DEPTH 7
+#define _Py_HAMT_MAX_TREE_DEPTH 8
#define Map_Check(o) (Py_TYPE(o) == &_Map_Type)