Commit d9ab558
committed
shell: pty: pack shell.output args in RFC 24 data event format
Problem: The shell.output plugin topic args (currently only used
in the job shell pty plugin) is mostly in RFC 24 data event format,
except that the rank is encoded as an integer instead of a string. This
means the plugin args have to be unpacked and repacked into a context
suitable for use with iodecode().
Pack shell.output args with a string rank so the object can be passed
directly to iodecode(). This will remove unnecessary decode and encode
plus memory allocation in the output plugin.1 parent ce00cca commit d9ab558
2 files changed
+14
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
726 | 726 | | |
727 | 727 | | |
728 | 728 | | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | | - | |
| 729 | + | |
733 | 730 | | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | | - | |
739 | | - | |
| 731 | + | |
740 | 732 | | |
741 | 733 | | |
742 | 734 | | |
743 | | - | |
| 735 | + | |
744 | 736 | | |
745 | 737 | | |
746 | 738 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | | - | |
87 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
371 | 372 | | |
372 | 373 | | |
373 | 374 | | |
374 | | - | |
375 | | - | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
376 | 380 | | |
377 | 381 | | |
378 | 382 | | |
379 | 383 | | |
| 384 | + | |
380 | 385 | | |
381 | 386 | | |
382 | 387 | | |
| |||
0 commit comments