Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

Commit 40785ff

Browse files
author
Lars T Hansen
committed
Increase the table count limit to 100,000
1 parent c3d5cbc commit 40785ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

document/js-api/index.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,7 @@ In practice, an implementation may run out of resources for valid modules below
11121112
<li>The maximum number of globals defined in a module is 1000000.</li>
11131113
<li>The maximum number of data segments defined in a module is 100000.</li>
11141114

1115-
<li>The maximum number of tables, including declared or imported tables, is 1.</li>
1115+
<li>The maximum number of tables, including declared or imported tables, is 100000.</li>
11161116
<li>The maximum size of a table is 10000000.</li>
11171117
<li>The maximum number of table entries in any table initialization is 10000000.</li>
11181118
<li>The maximum number of memories, including declared or imported memories, is 1.</li>

test/js-api/limits.any.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const kJSEmbeddingMaxFunctionParams = 1000;
1717
const kJSEmbeddingMaxFunctionReturns = 1;
1818
const kJSEmbeddingMaxTableSize = 10000000;
1919
const kJSEmbeddingMaxElementSegments = 10000000;
20-
const kJSEmbeddingMaxTables = 1;
20+
const kJSEmbeddingMaxTables = 100000;
2121
const kJSEmbeddingMaxMemories = 1;
2222

2323
// This function runs the {gen} function with the values {min}, {limit}, and

0 commit comments

Comments
 (0)