News for hackers. Stuff that matters.
Re:Trello clone with Phoenix and React – 5-part tutorial by e12e on Saturday January 23, 2016 @04:03AM (#10957742)
While interesting, I wonder if this makes any sense in terms of performance vs simply using a linked-list (or some kind of built-in equivalent, maybe backed by a binary tree, or something)? How many cards are you going to have in a given stack anyway? All you need is a list of card-ids (integers?) -- It's not like this has to run on a micro-controller...
Re:Trello clone with Phoenix and React – 5-part tutorial by throwupper247 on Saturday January 23, 2016 @09:02AM (#10958414)
I'm not sure if those are the meassures that guide the decision: Searching in linked lists is suboptimal (was it O(n)?), as is their cache performance. Sure, with small lists, that doesn;t matter, but how small is small enough?