Web programming language for very large lists?

In my own experience, what is the best web programming language used to handle sorting and comparing very large lists (i.e. tens of thousands of email addresses)?

I am most familiar with PHP. I think he could do the job, but I'm not sure about the other languages, and if there could be a proponent of betting.

Thank!

+5
source share
6 answers

I would save the emails in a database and use SQL to do sorting and searching. This is what the databases were designed for and they will have smart solutions that will surpass anything that most people in code can write.

+15
source
+16

, , , .

+2

. , .

, .

+1

trie, - .

(a-z, 0-9, _, . ..), trieNode . topcoder trie - , trie.

, trie.

Search / comparison takes O (l) time, where l is the length of the string you are comparing.

Sorting requires that you cross all trietodes of the trie tree using DFS (depth first search) - O (| V | + | E |).

+1
source

The fastest of these is compiled cgi.

0
source

All Articles