Commit ddcd1a2
child_process: optimize IPC for large data
Squashed from:
- child_process: stop indexOf() on whole IPC buffer
- child_process: get rid of forEach() and slice() in IPC
- child_process: get rid of another forEach() in IPC
Fixes: #3145
PR-URL: #10557
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Anna Henningsen <anna@addaleax.net>1 parent 2f339e7 commit ddcd1a2Copy full SHA for ddcd1a2
File tree
Expand file treeCollapse file tree
1 file changed
+17
-12
lines changedOpen diff view settings
Filter options
- lib/internal
Expand file treeCollapse file tree
1 file changed
+17
-12
lines changedOpen diff view settings
Collapse file
lib/internal/child_process.js
Copy file name to clipboardExpand all lines: lib/internal/child_process.js+17-12Lines changed: 17 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
446 | 446 | |
447 | 447 | |
448 | 448 | |
449 | | - |
450 | | - |
451 | | - |
| 449 | + |
| 450 | + |
| 451 | + |
| 452 | + |
| 453 | + |
| 454 | + |
| 455 | + |
| 456 | + |
| 457 | + |
| 458 | + |
| 459 | + |
452 | 460 | |
453 | | - |
454 | | - |
455 | | - |
456 | | - |
| 461 | + |
| 462 | + |
457 | 463 | |
458 | 464 | |
459 | 465 | |
| ||
462 | 468 | |
463 | 469 | |
464 | 470 | |
465 | | - |
466 | | - |
467 | 471 | |
468 | | - |
| 472 | + |
469 | 473 | |
470 | 474 | |
471 | 475 | |
| ||
494 | 498 | |
495 | 499 | |
496 | 500 | |
497 | | - |
| 501 | + |
| 502 | + |
498 | 503 | |
499 | | - |
| 504 | + |
500 | 505 | |
501 | 506 | |
502 | 507 | |
|
0 commit comments