Basically domain-specific code is never the right solution for that type of problem; a standard DB backend or general data model is.
I saw a foreign-lang dictionary util in Java that loaded the whole (flat, sorted) dict file in tree object for sake of binary-searching it.
-
-
The catch? It only performed one lookup (from the command line) then exited. So all the data structures were useless inefficiency.
-
For me the thing that "program level objects are not your persistent-data model" is a pretty important foundational concept.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.