-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Enable bulk-memory by default #22873
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 23 commits
96bf43a
d38642b
40e4fec
ffc87f7
8aa1812
c099418
ec3483a
48c1f06
6a82b9b
aeabee7
51ffac7
76eee63
cd2d0af
747201c
b4aba23
4714852
e140c7d
9da8ecc
3ab9bab
ca1e0da
b0e13ca
e4d0e82
17b47b5
c668e90
7fc041b
47a4908
8523375
22600c1
c20eee9
216ea09
679927b
8399076
3caad8d
7bbbb67
c3c901b
4a35ba2
5f62d73
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 4374 | ||
| 4341 |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -15,6 +15,7 @@ function e(b) { | |||||||||||||||||||||||||||||||||||||||||||
| for (var v, p = 0, t = a, w = f.length, y = a + (3 * w >> 2) - ("=" == f[w - 2]) - ("=" == f[w - 1]); p < w; p += 4) a = m[f.charCodeAt(p + 1)], | ||||||||||||||||||||||||||||||||||||||||||||
| v = m[f.charCodeAt(p + 2)], c[t++] = m[f.charCodeAt(p)] << 2 | a >> 4, t < y && (c[t++] = a << 4 | v >> 2), | ||||||||||||||||||||||||||||||||||||||||||||
| t < y && (c[t++] = v << 6 | m[f.charCodeAt(p + 3)]); | ||||||||||||||||||||||||||||||||||||||||||||
| return c; | ||||||||||||||||||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any idea what this is? Looks odd. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, that does look odd. Hard to know why without knowing which function this actually is. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's plausible that this is some function that in some way uses bulk memory. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm, based on the emscripten/src/base64Decode.js Lines 38 to 58 in 4cbcb26
That doesn't use bulk memory AFAICT. Strange that it changed. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Anyhow, it must be a weird closure quirk, as |
||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||
| for (var q, m = new Uint8Array(123), n = 25; 0 <= n; --n) m[48 + n] = 52 + n, m[65 + n] = n, | ||||||||||||||||||||||||||||||||||||||||||||
| m[97 + n] = 26 + n; | ||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| { | ||
| "a.html": 323, | ||
| "a.html.gz": 253, | ||
| "a.js": 1052, | ||
| "a.js.gz": 630, | ||
| "total": 1375, | ||
| "total_gz": 883 | ||
| "a.js": 1061, | ||
| "a.js.gz": 629, | ||
| "total": 1384, | ||
| "total_gz": 882 | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "a.html": 12517, | ||
| "a.html.gz": 6871, | ||
| "total": 12517, | ||
| "total_gz": 6871 | ||
| "a.html": 12449, | ||
| "a.html.gz": 6811, | ||
| "total": 12449, | ||
| "total_gz": 6811 | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "a.html": 17195, | ||
| "a.html.gz": 7480, | ||
| "total": 17195, | ||
| "total_gz": 7480 | ||
| "a.html": 17233, | ||
| "a.html.gz": 7535, | ||
| "total": 17233, | ||
| "total_gz": 7535 | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 8408 | ||
| 8390 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 20486 | ||
| 20433 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,5 @@ | ||
| __cxa_throw | ||
| _abort_js | ||
| _emscripten_memcpy_js | ||
| _tzset_js | ||
| emscripten_resize_heap | ||
| environ_get | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 128914 | ||
| 128556 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 8392 | ||
| 8374 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 20454 | ||
| 20401 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,5 @@ | ||
| __cxa_throw | ||
| _abort_js | ||
| _emscripten_memcpy_js | ||
| _tzset_js | ||
| emscripten_resize_heap | ||
| environ_get | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 128363 | ||
| 127960 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 9413 | ||
| 9393 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 24255 | ||
| 24202 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can just drop these 3 lines. I'm not sure what they achieve.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes, they were more useful when I had inline asm in this file.