Skip to content

Commit 54d013d

Browse files
committed
increase string hash cache to 1024
1 parent 4ae0694 commit 54d013d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/cljs/cljs/core.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@
10411041
h))
10421042

10431043
(defn hash-string [k]
1044-
(when (> string-hash-cache-count 255)
1044+
(when (> string-hash-cache-count 1024)
10451045
(set! string-hash-cache (js-obj))
10461046
(set! string-hash-cache-count 0))
10471047
(if (nil? k)

0 commit comments

Comments
 (0)