EEDSP
18.0K views | +1 today
Follow
EEDSP
Digital Signal Processing, Data Analytics, Big Data, HPC, Deep Learning, GPGPU, Distributed and Parallel Computing
Curated by Shiwon Cho
Your new post is loading...
Your new post is loading...
Scooped by Shiwon Cho
Scoop.it!

Fork Less in Bash and See Performance Wins | Architects Zone

Fork Less in Bash and See Performance Wins | Architects Zone | EEDSP | Scoop.it

It's 100x faster to skip the fork.

Now, granted this is a pretty dumb example, and it's easy to rewrite this to perform better than the bash example (i.e. don’t use a loop and just use awk which is 3x faster than the pure bash solution). So, think about what your doing, use a pipe over a loop, and if you can’t do that, try to find a built-in that can take care of your needs.

more...
No comment yet.
Scooped by Shiwon Cho
Scoop.it!

Mosh: the mobile shell

Mosh: the mobile shell | EEDSP | Scoop.it
Mobile shell that supports roaming and intelligent local echo. Like SSH secure shell, but allows mobility and more responsive and robust.
more...
No comment yet.