Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Commit

Permalink
Adjust js-api spec's table limits
Browse files Browse the repository at this point in the history
  • Loading branch information
evicy authored Nov 13, 2024
1 parent 458c969 commit 3464d1f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions document/js-api/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1764,8 +1764,6 @@ In practice, an implementation may run out of resources for valid modules below
<li>The maximum number of data segments defined in a module is 100,000.</li>

<li>The maximum number of tables, including declared or imported tables, is 100,000.</li>
<li>The maximum size of a table is 10,000,000.</li>
<li>The maximum number of table entries in any table initialization is 10,000,000.</li>
<li>The maximum number of memories, including defined and imported memories, is 100.</li>

<li>The maximum number of parameters to any function or block is 1,000.</li>
Expand All @@ -1780,7 +1778,7 @@ An implementation must throw a {{RuntimeError}} if one of the following limits i
In practice, an implementation may run out of resources for valid modules below these limits.

<ul>
<li>The maximum size of a table is 10,000,000.</li>
<li>The maximal initial or maximum size of a table is 10,000,000.</li>
<li>The maximum size of a 32-bit memory is 65,536 pages (4 GiB).</li>
<li>The maximum size of a 64-bit memory is 262,144 pages (16 GiB).</li>
</ul>
Expand Down

0 comments on commit 3464d1f

Please sign in to comment.