Valhalla Legends Forums Archive | Visual Basic Programming | Files, ListViews, Arrays

AuthorMessageTime
CrAz3D
Which is fastest & most efficent when checking for phrases to bna or words to filter?
March 5, 2004, 4:32 PM
SNiFFeR
Arrays. ;)
March 5, 2004, 6:18 PM
Grok
I disagree. An array will have to be searched entirely.

Keep thinking. This is a common question and there are widely accepted methods for it.
March 5, 2004, 7:43 PM
Adron
An array makes sense for phrases and similar that you need to InStr or Like for in the received text. A collection makes sense for things you can look up directly such as banned user names.
March 5, 2004, 8:07 PM
St0rm.iD
btree
March 5, 2004, 8:09 PM
Stealth
Do binary trees even make sense in Visual Basic?
March 6, 2004, 6:47 AM
Adron
Collections might be binary trees, I don't know how they are implemented.
March 6, 2004, 11:54 AM

Search