In my site, I have a functions.php file and I store all functions for the site ( A news site, with memberships, profiles )
So, I am still making the site, and 80% is finished, but the I feel like the file is going to slow my site down, I just checked it and I have reached 500th line on notepad++.
So, I just want to know how much is too much really. What is the effect, or the best practices when putting all your functions in one file.
Suppose, this for instance. There are functions that are used 10 or 20 times more than other functions. In my case, every time user browses the index page, there will be atleast 1 function that will be started. ex: ( out putting an article. ) And, there are others functions that rarely get called, like user registration, login....
So, is it ok to separate functions in different files according to their time of use? or not?
I generally want to know, ( Since I am newbie ) how you deal with functions, and the best methods.
Thanks.