|
Author |
Message |
tullmejs
Junior WebHelper
Joined: 15 Jul 2003
Posts: 2
|
Posted:
Tue Jul 15, 2003 3:12 am (20 years, 9 months ago) |
|
Hi,
I can either use several text files or one. With only one file it will be more complex and need more parsing code. (The content is various configuration data).
Generally, what solution is likely to be better performance-wise?
My guess is that either one file is better, or the difference is very small...
(I'll probably use several files, just curious for future - possibly bigger/more critical - projects.)
Thanks :-) |
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Tue Jul 15, 2003 7:47 am (20 years, 9 months ago) |
|
If this is a PHP coding project, I can tell you that having all the code in one file is a pain to manage, and it seriously impacts performance, since PHP has to parse the whole file even though you probably only need part of it. Includes are the way to go, but don't use too many of them either . |
________________________________
|
|
|
|
tullmejs
Junior WebHelper
Joined: 15 Jul 2003
Posts: 2
|
Posted:
Tue Jul 15, 2003 5:30 pm (20 years, 9 months ago) |
|
Yeah, managing and certainly development/debugging will be a pain with all data in one file! None of that.
I use vbscript at a humble beginners level. Don't know about includes |
|
|
|
|
pcbunk
Junior WebHelper
Joined: 18 Jul 2003
Posts: 7
|
Posted:
Fri Jul 18, 2003 8:32 am (20 years, 9 months ago) |
|
i use php, and the larger they get, the longer they take to load. When my file size got up to about 8mb, it took around 30 seconds for it to parse the file, i recommend lots of files |
________________________________ Blayne
PCBunk.net |
|
|
|
|
|
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.
|
Page generation time: 0.169287 seconds :: 19 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |