| re: include files
Well, it depends. If you only need to use a few of the functions,
instead of every function in the file, then multiple include files,
using only a certain number of them would be more efficient. Not much
more efficient though, since the filesystem has an overhead for opening
multiple files.
-Joshua Gao
Marcel wrote:[color=blue]
> "Rick van Krevelen" <krevelen@cs.vu.nl> schreef in bericht
> news:Wvfud.87376$lN.58035@amsnews05.chello.com...[color=green]
> >I believe you should store functions typically used together for[/color][/color]
some task[color=blue][color=green]
> > in a single file, and not hessitate to use multiple files to store
> > functions
> > for different tasks. Using a good multifile editor like UltraEdit[/color][/color]
probably[color=blue][color=green]
> > helps to keep a clear structure.
> >[/color]
>
> Thanks Rick but my question was a performance issue... will a php[/color]
page with[color=blue]
> functions split into multiple include-files take more time to appear[/color]
in a[color=blue]
> browser than a page with one big include-file containing all[/color]
functions.[color=blue]
>
> Marcel[/color] |