Sourcing Multiple Languages & Cyclomatic Complexity
by shirase from LinuxQuestions.org on (#6HBG6)
I've been trying to optimize blocks of code originally written in shell script.
I converted these blocks into perl, awk, and sed files and later compared them in file size, preformance and execution time.
Now I source the individual files as needed throughout the shellscript.
But I'm wondering, if I create a script that sources a perl script, an awk script, a sed script, then would that increase the cpu/gpu/ram usage and slow down the execution time?
I converted these blocks into perl, awk, and sed files and later compared them in file size, preformance and execution time.
Now I source the individual files as needed throughout the shellscript.
But I'm wondering, if I create a script that sources a perl script, an awk script, a sed script, then would that increase the cpu/gpu/ram usage and slow down the execution time?