Results 1 to 9 of 9
Threaded View
-
17th Jun 2010, 12:11 AM #6OPRespected Developer
A C# version would have at least 10 times more code to do the same thing.
This doesn't show my method. But sure, bring it on. It's time to kick ass and chew bubblegum
!
It has a queue of 500.000 urls. Each time it crawls a page it extracts 50 urls on average. Each of those 50 urls has to be checked against the entire queue to filter out dupes. And this gets done more than 5 times in a second at moments.
500.000 * 50 * 5 = 125.000.000 string matches per second. Yes, that will indeed keep a quad core busy. I'm surprised it only eats 50%. Just goes to show how good it scales. Keep in mind that filtering dupes is not the only thing that happens a few times a second here.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Snippet of the Day
By SplitIce in forum Web Development AreaReplies: 41Last Post: 26th Aug 2012, 06:09 PM -
Plz Help To Add A Php Snippet Into My DLE Index !
By JoomlaZ in forum Web Development AreaReplies: 0Last Post: 7th Jul 2011, 01:18 PM -
[C#] Tiny Web Server (snippet)
By Hyperz in forum Web Development AreaReplies: 6Last Post: 24th Jun 2010, 01:19 PM -
[F#] Strong random password generator (Multi-core)
By Hyperz in forum Web Development AreaReplies: 2Last Post: 19th Jun 2010, 11:45 AM -
A Snippet from my latest project
By litewarez in forum Tutorials and GuidesReplies: 19Last Post: 21st Jun 2009, 05:17 PM
themaCreator - create posts from...
Version 3.53 released. Open older version (or...