As I am attempting to build a number of programs which must be capable of handling a high volume of traffic, I am concerned about unecessary harddisk and processor activity on the host server.
If in a program I have the line:
require "prog.lib";
Will this file be read regardless of whether my main program calls any of the subroutines in the library?
In other words do library files simply make orgainisation easier or, by not having the subroutines in the main program, do I save the processor time of reading in lines of code that are not going to be executed?
If in a program I have the line:
require "prog.lib";
Will this file be read regardless of whether my main program calls any of the subroutines in the library?
In other words do library files simply make orgainisation easier or, by not having the subroutines in the main program, do I save the processor time of reading in lines of code that are not going to be executed?