minerbog Posted February 10, 2010 Share Posted February 10, 2010 Hi All, Its my first day here so please be gentle! My site is now getting very, shall we say difficult to read! A lot of the code is repeated so I want to put them into reusable functions. My question is though, if I say, have an include called security that has 12 functions in it and in a particular page I only need to use 1 function, does that fact the other 11 are there impact on performance? I.E. are they read even though they are never called? Many Thanks Gavin. Quote Link to comment Share on other sites More sharing options...
teamatomic Posted February 10, 2010 Share Posted February 10, 2010 Not really. I guess it would if you had like 100 but even then it would be negligible. But if you want you could even categorize them a bit more by type or user vs admin etc. to make the include a bit smaller. HTH Teamatomic Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.