The problem is that i have to call perl files near 40000 times from C during execution and in each of those calls i have to pass entire html pages(text only no images) from C file to perl files using pipes.
I don't believe in converting perl files to C code or to use mod-perl. Is there any other go to increase the speed (eg: like replacing the "system" & "popen" commands by faster alternatives]In reply to calling perl from C [performance optimization] by jithoosin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |