nickva commented on code in PR #5181:
URL: https://github.com/apache/couchdb/pull/5181#discussion_r1724056162


##########
src/couch/test/eunit/couch_key_tree_tests.erl:
##########
@@ -561,10 +561,15 @@ should_not_use_excessive_memory_when_stemming() ->
         % Without the optimization #91de482fd66f4773b3b8583039c6bcaf1c5727ec
         % stemming would consume about 18_000_000 words. With it, it consumes
         % 6_000_000. So, use 13_000_000 as a threshold.
+        Size =
+            case ?COUCHDB_JS_ENGINE of
+                "quickjs" -> 18_000_000;
+                "spidermonkey" -> 21_000_000

Review Comment:
   Oh interesting, does it seem like it js_engine related? That is a bit 
unexpected as we're just generating a plain re-tree. Is it fairly consistent?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to