http://calcg.org/newlogo2.png Not Logged in.
Login | Register

General Discussion Board \ Site \ slow menu to load?

Click here to log in (you must be logged in to post comments).

AuthorComment
Barrett
Administrator
avatar
Posted: 6 Jun 2004
15:48 GMT
Total Posts: 1676
not anymore... we wrote the bottom two parts of the menu right around the time we scripted the file database (a little less than two years ago), so we were newbies at coding and the 'recent files' went through every file for every file (so the number of files squared) to check if it was a recent file. now it'll only go through all the files for every file in the list, and as soon as a file isn't in the list it stops looping (cause it pre-sorts it). anyway, i hope that helps... for some reason the poll is still slow to load; i'll look into that.

Edit: just kidding it was the popular files thing... i just learned a new trick! the 'last' function (like break in C)... now the menu loads nearly instantly.

[Edited by Barrett on 07-Jun-04 00:57]

---
-Barrett A
Barrett
Administrator
avatar
Posted: 6 Jun 2004
17:13 GMT
Total Posts: 1676
ok, a cookie to anyone who can name all the updates i've made in the last 4 hours.

---
-Barrett A
allynfolksjr
Administrator
avatar
Posted: 6 Jun 2004
20:00 GMT
Total Posts: 1892
Is that why CG loaded slow with IE?

And you added the 'news' option to the site? Or did you add another one...I'm not sure.

[Edited by allynfolksjr on 07-Jun-04 05:07]
zkostik
Carrier
avatar
Posted: 6 Jun 2004
20:50 GMT
Total Posts: 2486
no, CG loads slowly in IE because of the multiple framesets. though, the routines in many site scripts are rather old...che che...
awesome job B, the new menu speed totally owns the old one. it's nice that you've also changed the number of popular files since it was really static due to large number of dls on the ones we had there.

---
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
Barrett
Administrator
avatar
Posted: 14 Jul 2004
11:25 GMT
Total Posts: 1676
Z, check the todo list... there are two more things (one has to do with active users on the stats box on the main teemz page... i forget what the other is)... i can't do anything about those until i get my computer, and then it'll take a few days to get settled in, but if there's anything that needs to get done at that time i'll try to help out, but i'm not sure how much i'll be able to work (probably a lot... college isn't that busy for me, unlike other people).

---
-Barrett A
zkostik
Carrier
avatar
Posted: 14 Jul 2004
13:44 GMT
Total Posts: 2486
Okay B, I'll see what I can do.

---
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
Barrett
Administrator
avatar
Posted: 14 Jul 2004
19:52 GMT
Total Posts: 1676
okay i took care of both of the things i added... 11 is a lot less than 65, but oh well...

---
-Barrett A
Barrett
Administrator
avatar
Posted: 15 Jul 2004
13:40 GMT
Total Posts: 1676
there's a problem with the rss feed... if you do 13 feeds (so the last one is sam heald's news), there is an error due to an invalid character or something.

---
-Barrett A
allynfolksjr
Administrator
avatar
Posted: 15 Jul 2004
21:58 GMT
Total Posts: 1892
Really, hm, I didn't notice that.





Portal | My Account | Register | Lost Password or Username | TOS | Disclaimer | Help | Site Search | File Archives Copyright © 2002-2019 CalcG.org