@saljam_ the more i think of it, the less I'm sure of priority queues. But it's as good as anything else...
@saljam_ clearly what you want is an ordered list which is ordered on elements of a doubly linked list :P
-
-
@saljam_ is there some automatic procedure, if you write down a list of all the functions you want, that suggests a good data structure?
-
@saljam_ (I'm not sure exactly what I'm asking, but it feels like there's a sensible CS question there somewhere...)
End of conversation
New conversation -
-
-
@saljam_ my approach is to have a different data structure optimised for each operation, and to keep them synced (1 caching bug remains :| )
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.