Commit fce4afa
committed
Fill out
This is an relatively impactful optimization to the performance of
futures/streams when transferring data from the host to the guest, so
fill this out for more types get the optimization to fire more. This was
found during some improvement of wasi-libc where some code paths weren't
getting hit, but they should,, and this is required to have that work out.MAY_REQUIRE_REALLOC for more types1 parent 3250c98 commit fce4afa
File tree
6 files changed
+22
-0
lines changed- crates
- component-macro/src
- wasmtime/src/runtime/component
- func
- resources
6 files changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
| 362 | + | |
362 | 363 | | |
363 | 364 | | |
364 | 365 | | |
| |||
371 | 372 | | |
372 | 373 | | |
373 | 374 | | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
374 | 378 | | |
375 | 379 | | |
376 | 380 | | |
| |||
408 | 412 | | |
409 | 413 | | |
410 | 414 | | |
| 415 | + | |
411 | 416 | | |
412 | 417 | | |
413 | 418 | | |
| |||
961 | 966 | | |
962 | 967 | | |
963 | 968 | | |
| 969 | + | |
964 | 970 | | |
965 | 971 | | |
966 | 972 | | |
| |||
969 | 975 | | |
970 | 976 | | |
971 | 977 | | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
972 | 981 | | |
973 | 982 | | |
974 | 983 | | |
| |||
1032 | 1041 | | |
1033 | 1042 | | |
1034 | 1043 | | |
| 1044 | + | |
1035 | 1045 | | |
1036 | 1046 | | |
1037 | 1047 | | |
| |||
1093 | 1103 | | |
1094 | 1104 | | |
1095 | 1105 | | |
| 1106 | + | |
1096 | 1107 | | |
1097 | 1108 | | |
1098 | 1109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
959 | 959 | | |
960 | 960 | | |
961 | 961 | | |
| 962 | + | |
962 | 963 | | |
963 | 964 | | |
964 | 965 | | |
| |||
1193 | 1194 | | |
1194 | 1195 | | |
1195 | 1196 | | |
| 1197 | + | |
1196 | 1198 | | |
1197 | 1199 | | |
1198 | 1200 | | |
| |||
1310 | 1312 | | |
1311 | 1313 | | |
1312 | 1314 | | |
| 1315 | + | |
1313 | 1316 | | |
1314 | 1317 | | |
1315 | 1318 | | |
| |||
1376 | 1379 | | |
1377 | 1380 | | |
1378 | 1381 | | |
| 1382 | + | |
1379 | 1383 | | |
1380 | 1384 | | |
1381 | 1385 | | |
| |||
2534 | 2538 | | |
2535 | 2539 | | |
2536 | 2540 | | |
| 2541 | + | |
2537 | 2542 | | |
2538 | 2543 | | |
2539 | 2544 | | |
| |||
2675 | 2680 | | |
2676 | 2681 | | |
2677 | 2682 | | |
| 2683 | + | |
2678 | 2684 | | |
2679 | 2685 | | |
2680 | 2686 | | |
| |||
3032 | 3038 | | |
3033 | 3039 | | |
3034 | 3040 | | |
| 3041 | + | |
3035 | 3042 | | |
3036 | 3043 | | |
3037 | 3044 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| 275 | + | |
275 | 276 | | |
276 | 277 | | |
277 | 278 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| 315 | + | |
315 | 316 | | |
316 | 317 | | |
317 | 318 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| 220 | + | |
220 | 221 | | |
221 | 222 | | |
222 | 223 | | |
| |||
0 commit comments