In tmm1's talk at Ruby Kaigi, he talked about the inception of the posix-spawn gem as a much faster way to shell out to a subprocess, because it doesn't copy the memory of the current process. Not sure if Open3 already has the optimization, but posix-spawnmight offer some performance gain.
In tmm1's talk at Ruby Kaigi, he talked about the inception of the posix-spawn gem as a much faster way to shell out to a subprocess, because it doesn't copy the memory of the current process. Not sure if
Open3
already has the optimization, butposix-spawn
might offer some performance gain.