FAQFAQ    SearchSearch    MemberlistMemberlist    UsergroupsUsergroups   RegisterRegister 
  ProfileProfile    Log in to check your private messagesLog in to check your private messages    Log inLog in 
REQ: A little faster scan

Post new topic   Reply to topic    WarcraftRealms.com Forum Index -> Suggestions
View previous topic :: View next topic  
Author Message
Census Taker

Joined: 22 May 2008
Posts: 659
Location: Copenhagen, DK
WR Updates: 5,205,304
FuxieDK WR Profile

PostPosted: Sun Jun 28, 2015 5:45 am    Post subject: REQ: A little faster scan Reply with quote

Scan 100
Scan 91-99
Scan 21-29
Scan 11-20
Scan 1-10
Scan (me)

Scan 100
Scan 90-99
Scan 20-29
Scan (me)

The reason for this, is Blizzard have removed 1-19 from /WHO, and seem to be unwilling to add them back.
Thus 1-10 is completely pointless to scan and 11-20 only returns data for one level (20).
Since 91-99 is one level less than all other scans, why not just move the boundries one down (max level is always done alone first)?

This would mean TWO less scans, causing the complete process to save 15-17 seconds..
Yes, I know it sounds a very little, however it all adds up...

And hey.... I did write a LITTLE faster Wink
Doing census mainly on Draenor; Raluf - Nimsay - Lusmo - Quixx - Sosyan - Garthog - Trubin - Zalistra - Zesmi and Djaang
Back to top
View user's profile Send private message
Forums Admin & general flunky

Joined: 07 Nov 2008
Posts: 1403
Location: Texas, USA
WR Updates: 9,217,799
bringoutyourdead WR Profile

PostPosted: Thu Jul 02, 2015 11:56 am    Post subject: Reply with quote

Actually the process is first you build a last in first out stack (think stack of plates at cafeteria)
1st item loaded on the stack is the ME scan
2nd through n-2 is loaded the stacks for groups of ten scans by decade x1 -x10
then depending on what Blizzard has chosen as the top level x0 or x5
the n-1 stack is either (TopLevel-9 -> TopLevel-1) or (TopLevel-4 -> TopLevel-1)
and finally the stack has the TopLevel scan.

reverse the order and that is how things get processed off of the stack of scanning jobs.

As each job fails to complete (due to being more then 49 characters [thanks Blizzard Confused ])
the current job is tossed and replaced by a divide and conquer algorithm which attempts to most efficiently get the process finished.

I did a lot of rework in this area to insure that as each expansion was release the code would work without people need to wait for the new levels to be added to CensusPlus.

Since Blizzard has NEVER commented on the minimum /who level change, we don't have any information that says they won't revert back.

In my opinion it was a Stupid short sighted change that didn't really fix anything.

Since the scan works, I choose to not break it at this time.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WarcraftRealms.com Forum Index -> Suggestions All times are GMT - 6 Hours
Page 1 of 1

Jump to:  
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

Powered by phpBB © 2001, 2005 phpBB Group