Say if i had a file thats 1 megabyte and its all functions, when i include that into my main file, only the parts being used are called correct? so not the whole 1 mb file is being read.
Say if i had a file thats 1 megabyte and its all functions, when i include that into my main file, only the parts being used are called correct? so not the whole 1 mb file is being read.
I am not exactly sure what it does, but remember, computers are not magical. They must read the whole file to find the right part.
no, the entire 1 Meg file will be loaded and parsed into your script. Only the functions you call will acutally be used, but everything will be loaded.