Преглед изворни кода

Increase depth of json stringify fast path

Josh Engebretson пре 10 година
родитељ
комит
fff355ae27
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Source/ThirdParty/Duktape/duktape.c

+ 1 - 1
Source/ThirdParty/Duktape/duktape.c

@@ -10734,7 +10734,7 @@ DUK_INTERNAL_DECL duk_small_int_t duk_unicode_re_is_wordchar(duk_codepoint_t cp)
 
 /* How large a loop detection stack to use for fast path */
 #if defined(DUK_USE_JSON_STRINGIFY_FASTPATH)
-#define DUK_JSON_ENC_LOOPARRAY                32
+#define DUK_JSON_ENC_LOOPARRAY                64
 #endif
 
 /* Encoding state.  Heap object references are all borrowed. */