Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Speedup for a whitelist approach
Old 05-24-2005, 01:51 AM Speedup for a whitelist approach
Recrehal's Avatar
Experienced Talker

Posts: 39
Location: Aachen, Germany
Trades: 0
I'd like to discuss different methodes to fasten a whitelist approach for large list (>1000 elements). So far I have been thinking about MySQL or textfiles on the resource side, and simple switch or sort/search algorithms for the implimentation. With such a large list I'm simply wondering if a textfile would be processed faster than MySQL. Once that is settled I'm wondering if both introduce methodes to speed up the access to a single element, namely searchmethodes like binary search.

If you know about other ways to store a list for a whitelist approach let me know.
Recrehal is offline
Reply With Quote
View Public Profile Visit Recrehal's homepage!
 
 
Register now for full access!
Old 05-24-2005, 04:15 AM
mtishetsky's Avatar
King Spam Talker

Posts: 1,226
Name: Mike
Location: Mataro, Spain
Trades: 0
Selecting a single record or a set of records with some criteria from a text file will be definitely slower than from MySQL with right indexes created, that's no doubt. Do not try to re-invent a bicycle.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

And don't forget to give me talkupation!
mtishetsky is offline
Reply With Quote
View Public Profile Visit mtishetsky's homepage!
 
Reply     « Reply to Speedup for a whitelist approach
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.83635 seconds with 12 queries