For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > November 2005 > How can I make my CGI script more efficient when I have to call a C programme using &









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How can I make my CGI script more efficient when I have to call a C programme using &
He Nan

2005-11-26, 7:55 am

In my script there is a external C programme , I have to call it every time
when the script runs .
But the C programme needs to load big dictionary , the time consuming is
more than 5 seconds .
What should I do to make it more efficient , could I modify the C programme
so that when it runs for the first time , the dictionary is loaded into the
memory and never free until service is shutdown , or shall I try mod_perl to
write a module in c ? I'm , for I'm a beginner to CGI programming ..

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com