View unanswered posts | View active topics It is currently Mon Oct 23, 2017 10:49 pm



← Back to the Calcudoku puzzle page




Reply to topic  [ 4 posts ] 
 timed rankings code updated 
Author Message
User avatar

Posted on: Sun Aug 10, 2014 5:34 pm




Posts: 2197
Joined: Thu May 12, 2011 11:58 pm
Post timed rankings code updated
The code behind computing the timed rankings table has been extensively reworked,
and runs much faster now (about 10 times faster [love] )

I still have to add back the "your average: <time> (= (time1 + time2 + time3)/3)" lines.

Patrick


Profile
User avatar

Posted on: Sun Aug 10, 2014 10:12 pm




Posts: 2197
Joined: Thu May 12, 2011 11:58 pm
Post Re: timed rankings code updated
And while I'm at it, a couple of efficiency improvements and one bug fix cut
the size of the largest ranking page (World regular rankings) from 2.4 MB to 1.1 MB [woot]


Profile
User avatar

Posted on: Mon Aug 11, 2014 9:22 pm




Posts: 2197
Joined: Thu May 12, 2011 11:58 pm
Post Re: timed rankings code updated
pnm wrote:
I still have to add back the "your average: <time> (= (time1 + time2 + time3)/3)" lines.


Those are back in :)


Profile
User avatar

Posted on: Mon Aug 11, 2014 10:47 pm




Posts: 2197
Joined: Thu May 12, 2011 11:58 pm
Post Re: timed rankings code updated
Ok, and I'm sure everybody is bored to death by now, but: a further efficiency improvement
cut the processing time of the world rankings page from 1.7 to 1.0 seconds, and of the largest
timed rankings list (4x4) from 0.8 to 0.3 seconds [blink] [thumbup]

The larger pages still take a while to appear because there simply is a lot on the page (the processing
time I mention is just the time spent by the server, add to that the time to transfer stuff across the
network, and the time your computer takes to construct and show the page).

The next step really is to introduce paging for those.

Patrick


Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

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

Search for:
Jump to:  
cron
All forum contents © Patrick Min, and by the post authors.

Forum software phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.