
23 Mar
2010
23 Mar
'10
4:35 p.m.
Dieter Adriaenssens a écrit :
Interesting stuff, I only read the blogpost you posted earlier. Of course, you can't get rid of all included files, a project would be very difficult to browse when everything is in one file. ;) I wonder if the size of the included files matters? Does a huge included file load faster than two smaller ones?
Greetings,
Dieter
In his example, the include file he wanted to remove had only 8 lines. So I would guess that a huge file loads faster than two smaller ones. Of course we also want to avoid code duplication, this is why we use include files. -- Marc Delisle http://infomarc.info